github.com/goplus/gossa@v0.3.25/pkg/encoding/gob/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 gob 7 8 import ( 9 q "encoding/gob" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "gob", 19 Path: "encoding/gob", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "encoding": "encoding", 23 "encoding/binary": "binary", 24 "errors": "errors", 25 "fmt": "fmt", 26 "io": "io", 27 "math": "math", 28 "math/bits": "bits", 29 "os": "os", 30 "reflect": "reflect", 31 "sync": "sync", 32 "sync/atomic": "atomic", 33 "unicode": "unicode", 34 "unicode/utf8": "utf8", 35 }, 36 Interfaces: map[string]reflect.Type{ 37 "GobDecoder": reflect.TypeOf((*q.GobDecoder)(nil)).Elem(), 38 "GobEncoder": reflect.TypeOf((*q.GobEncoder)(nil)).Elem(), 39 }, 40 NamedTypes: map[string]gossa.NamedType{ 41 "CommonType": {reflect.TypeOf((*q.CommonType)(nil)).Elem(), "", "id,name,safeString,setId,string"}, 42 "Decoder": {reflect.TypeOf((*q.Decoder)(nil)).Elem(), "", "Decode,DecodeValue,compatibleType,compileDec,compileIgnoreSingle,compileSingle,decIgnoreOpFor,decOpFor,decodeArray,decodeArrayHelper,decodeGobDecoder,decodeIgnoredValue,decodeInterface,decodeMap,decodeSingle,decodeSlice,decodeStruct,decodeTypeSequence,decodeValue,freeDecoderState,getDecEnginePtr,getIgnoreEnginePtr,gobDecodeOpFor,ignoreArray,ignoreArrayHelper,ignoreGobDecoder,ignoreInterface,ignoreMap,ignoreSingle,ignoreSlice,ignoreStruct,newDecoderState,nextInt,nextUint,readMessage,recvMessage,recvType,typeString"}, 43 "Encoder": {reflect.TypeOf((*q.Encoder)(nil)).Elem(), "", "Encode,EncodeValue,encode,encodeArray,encodeGobEncoder,encodeInterface,encodeMap,encodeSingle,encodeStruct,freeEncoderState,newEncoderState,popWriter,pushWriter,sendActualType,sendType,sendTypeDescriptor,sendTypeId,setError,writeMessage,writer"}, 44 }, 45 AliasTypes: map[string]reflect.Type{}, 46 Vars: map[string]reflect.Value{}, 47 Funcs: map[string]reflect.Value{ 48 "NewDecoder": reflect.ValueOf(q.NewDecoder), 49 "NewEncoder": reflect.ValueOf(q.NewEncoder), 50 "Register": reflect.ValueOf(q.Register), 51 "RegisterName": reflect.ValueOf(q.RegisterName), 52 }, 53 TypedConsts: map[string]gossa.TypedConst{}, 54 UntypedConsts: map[string]gossa.UntypedConst{}, 55 }) 56 }