github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/oracle/testdata/src/main/imports.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  Type  int
    13  		method (Type) Method(x *int) *int
    14  	var   Var   int
    15  
    16  -------- @describe ref-const --------
    17  reference to const lib.Const untyped int
    18  defined here
    19  
    20  -------- @describe ref-func --------
    21  reference to func lib.Func()
    22  defined here
    23  
    24  -------- @describe ref-var --------
    25  reference to var lib.Var int
    26  defined here
    27  
    28  -------- @describe ref-type --------
    29  reference to type lib.Type (size 8, align 8)
    30  defined as int
    31  Method set:
    32  	method (lib.Type) Method(x *int) *int
    33  
    34  -------- @describe ref-method --------
    35  reference to method func (lib.Type).Method(x *int) *int
    36  defined here
    37  
    38  -------- @pointsto p --------
    39  this *int may point to these objects:
    40  	imports.a
    41  
    42  -------- @describe ref-pkg --------
    43  reference to package "lib"
    44  	const Const untyped int = 3
    45  	func  Func  func()
    46  	type  Type  int
    47  		method (Type) Method(x *int) *int
    48  	var   Var   int
    49