iota skipping 0



examples/const-iota-default/const_defult.go
package main

import (
    "fmt"
)

const (
    _ = iota
    one
    two
    three
)

const (
    six = iota + 6
    seven
    eight
)

func main() {
    fmt.Println(one)
    fmt.Println(two)
    fmt.Println(three)
    fmt.Println()
    fmt.Println(six)
    fmt.Println(seven)
    fmt.Println(eight)
}

examples/const-iota-default/const_defult.out
1
2
3

6
7
8