Skip to content

ElioenaiFerrari/enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enum type for you GO project

Install

go get github.com/ElioenaiFerrari/enum

Examples

e := enum.New("Gandalf", "Frodo", "Sauron")

// true
e.IsValid("Gandalf")
// true
e.IsValid("Frodo")
// true
e.IsValid("Sauron")
// false
e.IsValid("Aragorm")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published