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

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package fnv
     6  
     7  import (
     8  	q "hash/fnv"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "fnv",
    18  		Path: "hash/fnv",
    19  		Deps: map[string]string{
    20  			"errors":    "errors",
    21  			"hash":      "hash",
    22  			"math/bits": "bits",
    23  		},
    24  		Interfaces: map[string]reflect.Type{},
    25  		NamedTypes: map[string]gossa.NamedType{},
    26  		AliasTypes: map[string]reflect.Type{},
    27  		Vars:       map[string]reflect.Value{},
    28  		Funcs: map[string]reflect.Value{
    29  			"New128":  reflect.ValueOf(q.New128),
    30  			"New128a": reflect.ValueOf(q.New128a),
    31  			"New32":   reflect.ValueOf(q.New32),
    32  			"New32a":  reflect.ValueOf(q.New32a),
    33  			"New64":   reflect.ValueOf(q.New64),
    34  			"New64a":  reflect.ValueOf(q.New64a),
    35  		},
    36  		TypedConsts:   map[string]gossa.TypedConst{},
    37  		UntypedConsts: map[string]gossa.UntypedConst{},
    38  	})
    39  }