dmarkham / enumer

A Go tool to auto generate methods for your enums
Other
411 stars 63 forks source link

feature request: add flag to suppress `String()` method #42

Open patricksuo opened 3 years ago

patricksuo commented 3 years ago

Sometime there is already a String() method.

dmarkham commented 3 years ago

I can see how this would be annoying, can you share an example? If you already have a good String() method what is the benefit of using enumer?