Releases: unravelin/null
Releases · unravelin/null
V4.2.0 Null Bool Constants
v4.1.0: Shorthand constructors
New constructor functions:
null.B(b) == null.NewBool(b, true)
null.I(i) == null.NewInt(i, true)
null.F(f) == null.NewFloat(f, true)
null.S(s) == null.NewString(s, true)
null.ZS(s) == null.NewString(s, s != "")
You can have gofmt rewrite these function calls in PATH for you with:
gofmt -w -r 'null.BoolFrom(s) -> null.B(s)' PATH
gofmt -w -r 'null.IntFrom(i) -> null.I(i)' PATH
gofmt -w -r 'null.FloatFrom(f) -> null.F(f)' PATH
gofmt -w -r 'null.TimeFrom(t) -> null.T(t)' PATH
gofmt -w -r 'null.StringFrom(s) -> null.S(s)' PATH
gofmt -w -r 'null.NewString(s, s != "") -> null.ZS(s)' PATH
v4.0.1
v2.1.3: Merge pull request #6 from unravelin/plenc
Add some missing easyjson (un)marshalers