...

Text file src/go/doc/testdata/examples/iota.golden

Documentation: go/doc/testdata/examples

     1-- .Play --
     2package main
     3
     4import ()
     5
     6const (
     7	a = iota
     8	b
     9)
    10
    11const d = 4
    12
    13func main() {
    14	_ = b
    15	_ = d
    16}
    17-- 2.Play --
    18package main
    19
    20import ()
    21
    22func main() {
    23}

View as plain text