Home / v4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
Major brush-up.tar.gz 2020-04-25 17.6 kB
Major brush-up.zip 2020-04-25 31.9 kB
README.md 2020-04-25 797 Bytes
Totals: 3 Items   50.3 kB 0

This is a new major release that improves performance and fixes an inconsistency that existed in v3.

  • null.Time and zero.Time now embed sql.NullTime.
  • null.Time and zero.Time's UnmarshalText returns a blank string if invalid, making them consistent with the rest of the package (see [#47]).
  • Errors returned by this package are now wrapped using Go 1.13-style errors.
  • Support for unmarshaling from the JSON representation of sql.NullXXX objects (ex. {"Int64": 123, "Valid": true}) has been dropped, significantly improving unmarshaling time and reducing allocations.
  • Unmarshaling errors no longer affect Valid. Always check for errors.

Support for Equal was added in the previous release.

Source: README.md, updated 2020-04-25