github.com/goplus/gossa@v0.3.25/pkg/hash/adler32/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 adler32 7 8 import ( 9 q "hash/adler32" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/gossa" 15 ) 16 17 func init() { 18 gossa.RegisterPackage(&gossa.Package{ 19 Name: "adler32", 20 Path: "hash/adler32", 21 Deps: map[string]string{ 22 "errors": "errors", 23 "hash": "hash", 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 "Checksum": reflect.ValueOf(q.Checksum), 31 "New": reflect.ValueOf(q.New), 32 }, 33 TypedConsts: map[string]gossa.TypedConst{}, 34 UntypedConsts: map[string]gossa.UntypedConst{ 35 "Size": {"untyped int", constant.MakeInt64(int64(q.Size))}, 36 }, 37 }) 38 }