github.com/goplus/gossa@v0.3.25/pkg/crypto/md5/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package md5 6 7 import ( 8 q "crypto/md5" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "md5", 19 Path: "crypto/md5", 20 Deps: map[string]string{ 21 "crypto": "crypto", 22 "encoding/binary": "binary", 23 "errors": "errors", 24 "hash": "hash", 25 "math/bits": "bits", 26 }, 27 Interfaces: map[string]reflect.Type{}, 28 NamedTypes: map[string]gossa.NamedType{}, 29 AliasTypes: map[string]reflect.Type{}, 30 Vars: map[string]reflect.Value{}, 31 Funcs: map[string]reflect.Value{ 32 "New": reflect.ValueOf(q.New), 33 "Sum": reflect.ValueOf(q.Sum), 34 }, 35 TypedConsts: map[string]gossa.TypedConst{}, 36 UntypedConsts: map[string]gossa.UntypedConst{ 37 "BlockSize": {"untyped int", constant.MakeInt64(int64(q.BlockSize))}, 38 "Size": {"untyped int", constant.MakeInt64(int64(q.Size))}, 39 }, 40 }) 41 }