package
0.3.4
Repository: https://github.com/alex-ikse/go-enum.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

MakeNames returns a list of possible string values of Make.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NoZerosNames returns a list of possible string values of NoZeros.
ParseAnimal attempts to convert a string to a Animal.
ParseColor attempts to convert a string to a Color.
ParseCommented attempts to convert a string to a Commented.
ParseComplexCommented attempts to convert a string to a ComplexCommented.
ParseImageType attempts to convert a string to a ImageType.
ParseJobState attempts to convert a string to a JobState.
ParseMake attempts to convert a string to a Make.
ParseNoZeros attempts to convert a string to a NoZeros.
ParseOceanColor attempts to convert a string to a OceanColor.
Additional template.
No description provided by the author
No description provided by the author
ParseProduct attempts to convert a string to a Product.
ParseProjectStatus attempts to convert a string to a ProjectStatus.

# Constants

AcmeIncProductAnvil is a Product of type Anvil.
AcmeIncProductDynamite is a Product of type Dynamite.
AcmeIncProductGlue is a Product of type Glue.
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.
ColorRedOrangeBlue is a Color of type Red-Orange-Blue.
ColorWhite is a Color of type White.
ColorYellow is a Color of type Yellow.
ColorYellowGreen is a Color of type Yellow_green.
CommentedValue1 is a Commented of type Value1.
CommentedValue2 is a Commented of type Value2.
CommentedValue3 is a Commented of type Value3.
ComplexCommentedValue1 is a ComplexCommented of type Value1.
ComplexCommentedValue2 is a ComplexCommented of type Value2.
ComplexCommentedValue3 is a ComplexCommented of type Value3.
ImageTypeGif is a ImageType of type Gif.
ImageTypeJpeg is a ImageType of type Jpeg.
ImageTypeJpg is a ImageType of type Jpg.
ImageTypePng is a ImageType of type Png.
ImageTypeTiff is a ImageType of type Tiff.
JobStateCompleted is a JobState of type Completed.
JobStateFailed is a JobState of type Failed.
JobStatePending is a JobState of type Pending.
JobStateProcessing is a JobState of type Processing.
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.
NoZerosEnd is a NoZeros of type End.
NoZerosMiddle is a NoZeros of type Middle.
NoZerosPpps is a NoZeros of type Ppps.
NoZerosPps is a NoZeros of type Pps.
NoZerosPs is a NoZeros of type Ps.
NoZerosStart is a NoZeros of type Start.
OceanColorBlue is a OceanColor of type Blue.
OceanColorCerulean is a OceanColor of type Cerulean.
OceanColorGreen is a OceanColor of type Green.
ProjectStatusCompleted is a ProjectStatus of type Completed.
ProjectStatusInWork is a ProjectStatus of type InWork.
ProjectStatusPending is a ProjectStatus of type Pending.
ProjectStatusRejected is a ProjectStatus of type Rejected.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
X is doc'ed.

# Type aliases

Animal x ENUM( Cat, Dog, Fish ).
Color is an enumeration of colors that are allowed.
Commented is an enumeration of commented values ENUM( value1 // Commented value 1 value2 value3 // Commented value 3 ) */.
ComplexCommented has some extra complicated parsing rules.
ENUM(jpeg, jpg, png, tiff, gif).
ENUM(pending, processing, completed, failed).
Make x ENUM(Toyota,_,Chevy,_,Ford,_,Tesla,_,Hyundai,_,Nissan,_,Jaguar,_,Audi,_,BMW,_,Mercedes-Benz,_,Volkswagon).
Make x ENUM(start=20,middle,end,ps,pps,ppps).
OceanColor is an enumeration of ocean colors that are allowed.
Products of AcmeInc ENUM( Anvil, Dynamite, Glue ).
ENUM(pending, inWork, completed, rejected).