1 -------- @describe ref-pkg-import --------
2 import of package "lib"
3 const Const untyped int = 3
6 type Sorter interface{...}
7 method (Sorter) Len() int
8 method (Sorter) Less(i int, j int) bool
9 method (Sorter) Swap(i int, j int)
11 method (Type) Method(x *int) *int
14 -------- @describe ref-pkg-import2 --------
15 import of package "lib/sublib"
16 const C untyped int = 0
18 -------- @describe ref-const --------
19 reference to const lib.Const untyped int of value 3
22 -------- @describe ref-func --------
23 reference to func lib.Func()
26 -------- @describe ref-var --------
27 reference to var lib.Var int
30 -------- @describe ref-type --------
31 reference to type lib.Type (size 8, align 8)
34 method (Type) Method(x *int) *int
36 -------- @describe ref-method --------
37 reference to method func (lib.Type).Method(x *int) *int
40 -------- @pointsto p --------
41 this *int may point to these objects:
44 -------- @describe ref-pkg --------
45 reference to package "lib"
46 const Const untyped int = 3
48 type Outer struct{...}
49 type Sorter interface{...}
50 method (Sorter) Len() int
51 method (Sorter) Less(i int, j int) bool
52 method (Sorter) Swap(i int, j int)
54 method (Type) Method(x *int) *int