github.com/goplus/gossa@v0.3.25/pkg/encoding/base32/go117_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package base32 7 8 import ( 9 q "encoding/base32" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/gossa" 15 ) 16 17 func init() { 18 gossa.RegisterPackage(&gossa.Package{ 19 Name: "base32", 20 Path: "encoding/base32", 21 Deps: map[string]string{ 22 "io": "io", 23 "strconv": "strconv", 24 }, 25 Interfaces: map[string]reflect.Type{}, 26 NamedTypes: map[string]gossa.NamedType{ 27 "CorruptInputError": {reflect.TypeOf((*q.CorruptInputError)(nil)).Elem(), "Error", ""}, 28 "Encoding": {reflect.TypeOf((*q.Encoding)(nil)).Elem(), "WithPadding", "Decode,DecodeString,DecodedLen,Encode,EncodeToString,EncodedLen,decode"}, 29 }, 30 AliasTypes: map[string]reflect.Type{}, 31 Vars: map[string]reflect.Value{ 32 "HexEncoding": reflect.ValueOf(&q.HexEncoding), 33 "StdEncoding": reflect.ValueOf(&q.StdEncoding), 34 }, 35 Funcs: map[string]reflect.Value{ 36 "NewDecoder": reflect.ValueOf(q.NewDecoder), 37 "NewEncoder": reflect.ValueOf(q.NewEncoder), 38 "NewEncoding": reflect.ValueOf(q.NewEncoding), 39 }, 40 TypedConsts: map[string]gossa.TypedConst{ 41 "NoPadding": {reflect.TypeOf(q.NoPadding), constant.MakeInt64(int64(q.NoPadding))}, 42 "StdPadding": {reflect.TypeOf(q.StdPadding), constant.MakeInt64(int64(q.StdPadding))}, 43 }, 44 UntypedConsts: map[string]gossa.UntypedConst{}, 45 }) 46 }