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

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