Skip to content

Commit d7e0c3f

Browse files
committed
types: fix godoc comment
1 parent 886e09e commit d7e0c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (id *ID) MarshalJSON() ([]byte, error) {
4343
return json.Marshal(id.Number)
4444
}
4545

46-
// MarshalJSON implements json.UnmarshalJSON.
46+
// UnmarshalJSON implements json.UnmarshalJSON.
4747
func (id *ID) UnmarshalJSON(data []byte) error {
4848
*id = ID{}
4949
if err := json.Unmarshal(data, &id.Number); err == nil {

0 commit comments

Comments
 (0)