Fix a typo
This commit is contained in:
parent
a9db3ac26f
commit
eb7618b4e1
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ Marshals to JSON null if SQL source data is null. Uses `time.Time`'s marshaler.
|
|||
`import "gopkg.in/guregu/null.v3/zero"`
|
||||
|
||||
#### zero.String
|
||||
Nullable int64.
|
||||
Nullable string.
|
||||
|
||||
Will marshal to a blank string if null. Blank string input produces a null String. Null values and zero values are considered equivalent. Can unmarshal from `sql.NullString` JSON input.
|
||||
|
||||
|
@ -72,4 +72,4 @@ Will marshal to the zero time if null. Uses `time.Time`'s marshaler. Can unmarsh
|
|||
`json`'s `",omitempty"` struct tag does not work correctly right now. It will never omit a null or empty String. This might be [fixed eventually](https://github.com/golang/go/issues/4357).
|
||||
|
||||
### License
|
||||
BSD
|
||||
BSD
|
||||
|
|
Loading…
Add table
Reference in a new issue