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

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