You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this project https://github.com/alvaroloes/enumer
It generates yaml/json marshalers and also stringer implementations all using the same strings for enums.
It has basic string customization support (they call it "transform") which does what I want (small case strings) but it is not generally customizable as I would have expected ..... it does the job for me in the time being
I'd like the strings to be "apple", "banana", "orange". How can I assign custom strings ?
Something like this would work ?
The text was updated successfully, but these errors were encountered: