go-enum
go-enum copied to clipboard
Feature request: some `{{ENUM}}Len()` function, and extra if if an `{{ENUM}}Iter()` function is defined.
First, congrats and thanks for the well written tool 😃
I often I find myself iterating over enum values ...
Do you mind expanding on these use cases?
There is a values flag that allows you to get a slice of values back. What are you picturing here, so that I might be able to create the changes necessary for you.