github.com/goplus/igop@v0.25.0/pkg/hash/fnv/go121_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.21
     4  // +build go1.21
     5  
     6  package fnv
     7  
     8  import (
     9  	q "hash/fnv"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.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]reflect.Type{},
    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]igop.TypedConst{},
    38  		UntypedConsts: map[string]igop.UntypedConst{},
    39  	})
    40  }