enum in Go
In Golang, enums are implemented quite differently than most other programming languages. We use a predeclared identifier, iota, and the enums are not strictly typed. ``` package main import ( "fmt" ) type Direction int const ( North Direction = iota South East West ) func main() { fmt.Println(North) // 0 fmt.Println(South) // 1 } ```