...
1//
2PACKAGE b
3
4IMPORTPATH
5 testdata/b
6
7IMPORTS
8 a
9
10FILENAMES
11 testdata/b.go
12
13CONSTANTS
14 //
15 const (
16 C1 notExported = iota
17 C2
18
19 C4
20 C5
21 )
22
23 //
24 const C notExported = 0
25
26 //
27 const Pi = 3.14 // Pi
28
29
30VARIABLES
31 //
32 var (
33 U1, U2, U4, U5 notExported
34
35 U7 notExported = 7
36 )
37
38 //
39 var MaxInt int // MaxInt
40
41 //
42 var V notExported
43
44 //
45 var V1, V2, V4, V5 notExported
46
47
48FUNCTIONS
49 // Associated with comparable type if AllDecls is set.
50 func ComparableFactory() comparable
51
52 //
53 func F(x int) int
54
55 //
56 func F1() notExported
57
58 // Always under the package functions list.
59 func NotAFactory() int
60
61 // Associated with uint type if AllDecls is set.
62 func UintFactory() uint
63
64
65TYPES
66 //
67 type T struct{} // T
68
69 //
70 var V T // v
71
72 //
73 func (x *T) M()
74
View as plain text