dmarkham / enumer

A Go tool to auto generate methods for your enums
Other
410 stars 66 forks source link

Added ability to change marshalling to json, text, yaml to int #85

Open tomtwinkle opened 5 months ago

tomtwinkle commented 5 months ago

The current functionality of enumer realizes Marshal/Unmarshal of json, text, and yaml with conversion to string representation, but add an option to accommodate cases where it is desired to use them as int.