campoy / jsonenums

This tool is similar to golang.org/x/tools/cmd/stringer but generates MarshalJSON and UnmarshalJSON methods.
Apache License 2.0
490 stars 57 forks source link

Add Optional bson Support #19

Closed wyc closed 7 years ago

wyc commented 7 years ago

Adds a new flag, -bson, which will also generate GetBSON and SetBSON commands that satisfy interfaces specified in gopkg.in/mgo.v2/bson.

campoy commented 7 years ago

Thanks for your contribution, but this tool is just a sample. I will not add extra features, just fixes on the current functionality.