But you can do that if you create a type for the enum values :
type errorLevel int
const (
OK errorLevel = iota
WARNING
FATAL
)
...