github.com/AndrienkoAleksandr/go@v0.0.19/src/go/doc/testdata/examples/iota.golden (about)

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