Closed smola closed 7 years ago
It's not proteus, probably it's generated by gogo/protobuf, which requires a PR there so this might take a while.
We just need to add an option. This can be done by adding an option. I'll try to do it checking we have all the options we want already there.
We need to detect the String()
method. If it is detected, we can add (gogoproto.goproto_stringer)=false
for the given message / enum.
proteus generates a String() method for my enums, but I already have one (generated by stringer). So I would like to avoid generating this String() method.
I don't care if this is a command line flag enabling it globally or annotation-based opt-in per type. Both would work for me.