Major brush-up
This is a new major release that improves performance and fixes an inconsistency that existed in v3.
null.Timeandzero.Timenow embedsql.NullTime.null.Timeandzero.Time'sUnmarshalTextreturns 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.NullXXXobjects (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.