Define enums using the ENUM() syntax
masterThe go-enum parser identifies enum declarations by looking for an ENUM(...) block within comments preceding a type definition. You can list values on a single line or multiple lines. To assign a specific numeric value to an enum member, use the =numericValue syntax. Note that assigning a specific value resets the sequence for all subsequent members (e.g., if you set a value to 50, the next will be 51).
/* ENUM(
Black, White, Red
Green = 33
)
*/
type Color int32