golang code generator is extended with the possibility to generate constants
each constants group is presented as a type (name of the enum with Enum suffix) and bunch of the const values of this type. The const names are prepended with the type name.
String() method is defined for each const type as well as GetAll[enum name]()
golang code generator is extended with the possibility to generate constants
each constants group is presented as a type (name of the enum with
Enum
suffix) and bunch of the const values of this type. The const names are prepended with the type name.String()
method is defined for each const type as well asGetAll[enum name]()
example: