Go Programming (golang) – 07: Constants, Enums & iota
Learn Go programming, from beginner to pro!
We learn how to create constants, and how to use the iota keyword to declare constant enumerations in Golang.
Difference between typed and untyped constants:
Untyped constant can be used in any expression and converted implicitly, while typed constants cannot.
Twitter: https://twitter.com/digerati_online
Comments are closed.