[feature request] Auto-detect enum types based on line commentsΒ #99
Open
Description
Right now enumer
requires explicitly listing out the enum types. This can get tedious and error-prone over time.
One solution (e.g. as implemented by enumgen) relies on line comments. Instead of explicitly listing the enum types, you simply add a line comment to indicate a type should be treated as an enum, like so:
type MyEnum int32 //enums:enum
Is there appetite for such a feature?
Metadata
Assignees
Labels
No labels