Posted on 26th July 2024|68 views
Explain how to work with enums in Go
Posted on 26th July 2024| views
Enums are also known as Enumerators. They can be used to declare constants with identical behaviour.
Declaration of Enum
type Day int
"int" is the type of the Enum "Day".