Debian Codegraph @

_test/const26.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 )
6
7 func init() {
8 fmt.Println(constString)
9 fmt.Println(const2)
10 fmt.Println(varString)
11 }
12
13 const constString string = "hello"
14
15 const (
16 const1 = iota + 10
17 const2
18 const3
19 )
20
21 var varString string = "test"
22
23 func main() {}
24
25 // Output:
26 // hello
27 // 11
28 // test