github.com/goplus/gossa@v0.3.25/pkg/encoding/base64/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 base64 7 8 import ( 9 q "encoding/base64" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/gossa" 15 ) 16 17 func init() { 18 gossa.RegisterPackage(&gossa.Package{ 19 Name: "base64", 20 Path: "encoding/base64", 21 Deps: map[string]string{ 22 "encoding/binary": "binary", 23 "io": "io", 24 "strconv": "strconv", 25 }, 26 Interfaces: map[string]reflect.Type{}, 27 NamedTypes: map[string]gossa.NamedType{ 28 "CorruptInputError": {reflect.TypeOf((*q.CorruptInputError)(nil)).Elem(), "Error", ""}, 29 "Encoding": {reflect.TypeOf((*q.Encoding)(nil)).Elem(), "Strict,WithPadding", "Decode,DecodeString,DecodedLen,Encode,EncodeToString,EncodedLen,decodeQuantum"}, 30 }, 31 AliasTypes: map[string]reflect.Type{}, 32 Vars: map[string]reflect.Value{ 33 "RawStdEncoding": reflect.ValueOf(&q.RawStdEncoding), 34 "RawURLEncoding": reflect.ValueOf(&q.RawURLEncoding), 35 "StdEncoding": reflect.ValueOf(&q.StdEncoding), 36 "URLEncoding": reflect.ValueOf(&q.URLEncoding), 37 }, 38 Funcs: map[string]reflect.Value{ 39 "NewDecoder": reflect.ValueOf(q.NewDecoder), 40 "NewEncoder": reflect.ValueOf(q.NewEncoder), 41 "NewEncoding": reflect.ValueOf(q.NewEncoding), 42 }, 43 TypedConsts: map[string]gossa.TypedConst{ 44 "NoPadding": {reflect.TypeOf(q.NoPadding), constant.MakeInt64(int64(q.NoPadding))}, 45 "StdPadding": {reflect.TypeOf(q.StdPadding), constant.MakeInt64(int64(q.StdPadding))}, 46 }, 47 UntypedConsts: map[string]gossa.UntypedConst{}, 48 }) 49 }