Constants

Learn about constants in Go.

iota

iota starts constant numbering in Go. It doesn’t mean “start from zero” as someone might expect. It is an index of a constant in the current const block:

Get hands-on with 1400+ tech skills courses.