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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package hash
     6  
     7  import (
     8  	q "hash"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.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]reflect.Type{},
    28  		AliasTypes:    map[string]reflect.Type{},
    29  		Vars:          map[string]reflect.Value{},
    30  		Funcs:         map[string]reflect.Value{},
    31  		TypedConsts:   map[string]igop.TypedConst{},
    32  		UntypedConsts: map[string]igop.UntypedConst{},
    33  	})
    34  }