github.com/goplus/igop@v0.25.0/pkg/encoding/base64/go114_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package base64 6 7 import ( 8 q "encoding/base64" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "base64", 19 Path: "encoding/base64", 20 Deps: map[string]string{ 21 "encoding/binary": "binary", 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 "RawStdEncoding": reflect.ValueOf(&q.RawStdEncoding), 33 "RawURLEncoding": reflect.ValueOf(&q.RawURLEncoding), 34 "StdEncoding": reflect.ValueOf(&q.StdEncoding), 35 "URLEncoding": reflect.ValueOf(&q.URLEncoding), 36 }, 37 Funcs: map[string]reflect.Value{ 38 "NewDecoder": reflect.ValueOf(q.NewDecoder), 39 "NewEncoder": reflect.ValueOf(q.NewEncoder), 40 "NewEncoding": reflect.ValueOf(q.NewEncoding), 41 }, 42 TypedConsts: map[string]igop.TypedConst{ 43 "NoPadding": {reflect.TypeOf(q.NoPadding), constant.MakeInt64(int64(q.NoPadding))}, 44 "StdPadding": {reflect.TypeOf(q.StdPadding), constant.MakeInt64(int64(q.StdPadding))}, 45 }, 46 UntypedConsts: map[string]igop.UntypedConst{}, 47 }) 48 }