package
0.5.4
Repository: https://github.com/smzgl/go-enum.git
Documentation: pkg.go.dev

# Functions

Mapify returns a map that is all of the indexes for a string value lookup.
Namify returns a slice that is all of the possible names for an enum in a slice.
NewGenerator is a constructor method for creating a new Generator with default templates loaded.
No description provided by the author
ParseAliases is used to add aliases to replace during name sanitization.
Stringify returns a string that is all of the enum value names concatenated without a separator.
Unmapify returns a map that is all of the indexes for a string value lookup.
Unmapify returns a map that is all of the indexes for a string value lookup.

# Structs

Enum holds data for a discovered enum in the parsed source.
EnumValue holds the individual data for each enum value within the found enum.
Generator is responsible for generating validation files for the given in a go source file.