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