github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/oracle/testdata/src/imports/main.golden (about)

     1  -------- @describe ref-pkg-import2 --------
     2  import of package "hash/fnv"
     3  	func  New32  func() hash.Hash32
     4  	func  New32a func() hash.Hash32
     5  	func  New64  func() hash.Hash64
     6  	func  New64a func() hash.Hash64
     7  
     8  -------- @describe ref-pkg-import --------
     9  import of package "lib"
    10  	const Const  untyped int = 3
    11  	func  Func   func()
    12  	type  Sorter interface{...}
    13  		method (Sorter) Len() int
    14  		method (Sorter) Less(i int, j int) bool
    15  		method (Sorter) Swap(i int, j int)
    16  	type  Type   int
    17  		method (Type) Method(x *int) *int
    18  	var   Var    int
    19  
    20  -------- @describe ref-const --------
    21  reference to const lib.Const untyped int
    22  defined here
    23  
    24  -------- @describe ref-func --------
    25  reference to func lib.Func()
    26  defined here
    27  
    28  -------- @describe ref-var --------
    29  reference to var lib.Var int
    30  defined here
    31  
    32  -------- @describe ref-type --------
    33  reference to type lib.Type (size 8, align 8)
    34  defined as int
    35  Method set:
    36  	method (lib.Type) Method(x *int) *int
    37  
    38  -------- @describe ref-method --------
    39  reference to method func (lib.Type).Method(x *int) *int
    40  defined here
    41  
    42  -------- @pointsto p --------
    43  this *int may point to these objects:
    44  	main.a
    45  
    46  -------- @describe ref-pkg --------
    47  reference to package "lib"
    48  	const Const  untyped int = 3
    49  	func  Func   func()
    50  	type  Sorter interface{...}
    51  		method (Sorter) Len() int
    52  		method (Sorter) Less(i int, j int) bool
    53  		method (Sorter) Swap(i int, j int)
    54  	type  Type   int
    55  		method (Type) Method(x *int) *int
    56  	var   Var    int
    57