Constants Table of Contents Declare constants with incrementing numbers Declare constants with incrementing numbers howto type ByteSize float64 const ( _ = iota // ignore first value by assigning to blank identifier KB ByteSize = 1 << (10 * iota) MB GB TB PB EB ZB YB ) https://github.com/golang/go/wiki/Iota