Posted on 5th March 2024|52 views
Explain how to work with enums in Go
Posted on 5th March 2024
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".
STILL GOT QUERIES?