package
0.1.3
Repository: https://github.com/marusama/go-enum.git
Documentation: pkg.go.dev

# Functions

ParseAnimal attempts to convert a string to a Animal.
ParseColor attempts to convert a string to a Color.
ParseMake attempts to convert a string to a Make.

# Constants

AnimalCat is a Animal of type Cat.
AnimalDog is a Animal of type Dog.
AnimalFish is a Animal of type Fish.
ColorBlack is a Color of type Black.
ColorBlue is a Color of type Blue.
ColorBlueGreen is a Color of type Blue-Green.
ColorGreen is a Color of type Green.
ColorGrey is a Color of type Grey.
ColorRed is a Color of type Red.
ColorRedOrange is a Color of type Red-Orange.
ColorWhite is a Color of type White.
ColorYellow is a Color of type Yellow.
MakeAudi is a Make of type Audi.
MakeBMW is a Make of type BMW.
MakeChevy is a Make of type Chevy.
MakeFord is a Make of type Ford.
MakeHyundai is a Make of type Hyundai.
MakeJaguar is a Make of type Jaguar.
MakeMercedesBenz is a Make of type Mercedes-Benz.
MakeNissan is a Make of type Nissan.
MakeTesla is a Make of type Tesla.
MakeToyota is a Make of type Toyota.
MakeVolkswagon is a Make of type Volkswagon.

# Structs

X is doc'ed.

# Type aliases

Animal x ENUM( Cat, Dog, Fish ).
Color is an enumeration of colors that are allowed.
Make x ENUM(Toyota,_,Chevy,_,Ford,_,Tesla,_,Hyundai,_,Nissan,_,Jaguar,_,Audi,_,BMW,_,Mercedes-Benz,_,Volkswagon).