github.com/philpearl/plenc@v0.0.15/null/test.go (about) 1 package null 2 3 import "github.com/unravelin/null" 4 5 //go:generate easyjson -no_std_marshalers -pkg 6 7 //easyjson:json 8 type benchThing struct { 9 I null.Int `plenc:"1"` 10 I2 null.Int `plenc:"2"` 11 B null.Bool `plenc:"3"` 12 B2 null.Bool `plenc:"4"` 13 F null.Float `plenc:"5"` 14 S null.String `plenc:"6"` 15 T null.Time `plenc:"7"` 16 U null.String `plenc:"8,intern"` 17 }