github.com/goplus/igop@v0.25.0/pkg/encoding/gob/go117_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package gob 7 8 import ( 9 q "encoding/gob" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.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]reflect.Type{ 41 "CommonType": reflect.TypeOf((*q.CommonType)(nil)).Elem(), 42 "Decoder": reflect.TypeOf((*q.Decoder)(nil)).Elem(), 43 "Encoder": reflect.TypeOf((*q.Encoder)(nil)).Elem(), 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]igop.TypedConst{}, 54 UntypedConsts: map[string]igop.UntypedConst{}, 55 }) 56 }