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 "trimprefix" flag to trim type's prefix #32

Open chennqqi opened 2 years ago

chennqqi commented 2 years ago
  1. add go.mod
  2. add new flag "trimprefix" just like golang.org/x/tools/cmd/stringer