tinylib / msgp

A Go code generator for MessagePack / msgpack.org[Go]
MIT License
1.77k stars 189 forks source link

Can we use the `json` tag to generate code #313

Closed jxskiss closed 1 month ago

jxskiss commented 1 year ago

Sometimes it's inconvenient to modify the struct tag (e.g. code generated by some generators), is it possible we can use the json tag to generate msgpack code, maybe add a new option to the command line.