github.com/goplus/gossa@v0.3.25/pkg/hash/go115_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package hash
     6  
     7  import (
     8  	q "hash"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "hash",
    18  		Path: "hash",
    19  		Deps: map[string]string{
    20  			"io": "io",
    21  		},
    22  		Interfaces: map[string]reflect.Type{
    23  			"Hash":   reflect.TypeOf((*q.Hash)(nil)).Elem(),
    24  			"Hash32": reflect.TypeOf((*q.Hash32)(nil)).Elem(),
    25  			"Hash64": reflect.TypeOf((*q.Hash64)(nil)).Elem(),
    26  		},
    27  		NamedTypes:    map[string]gossa.NamedType{},
    28  		AliasTypes:    map[string]reflect.Type{},
    29  		Vars:          map[string]reflect.Value{},
    30  		Funcs:         map[string]reflect.Value{},
    31  		TypedConsts:   map[string]gossa.TypedConst{},
    32  		UntypedConsts: map[string]gossa.UntypedConst{},
    33  	})
    34  }