github.com/goplus/igop@v0.25.0/pkg/encoding/base32/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 base32 7 8 import ( 9 q "encoding/base32" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.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]reflect.Type{ 27 "CorruptInputError": reflect.TypeOf((*q.CorruptInputError)(nil)).Elem(), 28 "Encoding": reflect.TypeOf((*q.Encoding)(nil)).Elem(), 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]igop.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]igop.UntypedConst{}, 45 }) 46 }