File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ import (
100
100
// Field int `json:"-,"`
101
101
//
102
102
// The "omitzero" option specifies that the field should be omitted
103
- // from the encoding if the field has a zero value, according to:
103
+ // from the encoding if the field has a zero value, according to rules :
104
104
//
105
105
// 1) If the field type has an "IsZero() bool" method, that will be used to
106
106
// determine whether the value is zero.
@@ -114,7 +114,7 @@ import (
114
114
//
115
115
// // Field appears in JSON as key "myName" and
116
116
// // the field is omitted from the object if its value is zero,
117
- // // as defined above.
117
+ // // as determined above.
118
118
// Field time.Time `json:"myName,omitzero"`
119
119
//
120
120
// // Field appears in JSON as key "Field" (the default), but
You can’t perform that action at this time.
0 commit comments