1 | // The package doc comment |
---|---|
2 | package initial |
3 | |
4 | import ( |
5 | "fmt" |
6 | |
7 | "domain.name/importdecl" |
8 | ) |
9 | |
10 | type t int // type1 |
11 | |
12 | // const1 |
13 | const c = 1 // const2 |
14 | |
15 | func foo() { |
16 | fmt.Println(importdecl.F()) |
17 | } |
18 | |
19 | // zinit |
20 | const ( |
21 | z1 = iota // z1 |
22 | z2 // z2 |
23 | ) // zend |
24 |