Debian Codegraph @

_test/a29.go

raw symbols SCIP
1 package main
2
3 import "fmt"
4
5 const (
6 zero = iota
7 one
8 two
9 three
10 )
11
12 func main() {
13 a := [...]string{
14 zero: "zero",
15 one: "one",
16 three: "three",
17 three + 2: "five",
18 }
19 fmt.Printf("%v %T\n", a, a)
20 }
21
22 // Output:
23 // [zero one three five] [6]string