GoPLS Viewer

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