github.com/goplus/igop@v0.25.0/pkg/encoding/gob/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 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 "internal/saferio": "saferio", 27 "io": "io", 28 "math": "math", 29 "math/bits": "bits", 30 "os": "os", 31 "reflect": "reflect", 32 "sync": "sync", 33 "sync/atomic": "atomic", 34 "unicode": "unicode", 35 "unicode/utf8": "utf8", 36 }, 37 Interfaces: map[string]reflect.Type{ 38 "GobDecoder": reflect.TypeOf((*q.GobDecoder)(nil)).Elem(), 39 "GobEncoder": reflect.TypeOf((*q.GobEncoder)(nil)).Elem(), 40 }, 41 NamedTypes: map[string]reflect.Type{ 42 "CommonType": reflect.TypeOf((*q.CommonType)(nil)).Elem(), 43 "Decoder": reflect.TypeOf((*q.Decoder)(nil)).Elem(), 44 "Encoder": reflect.TypeOf((*q.Encoder)(nil)).Elem(), 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{}, 48 Funcs: map[string]reflect.Value{ 49 "NewDecoder": reflect.ValueOf(q.NewDecoder), 50 "NewEncoder": reflect.ValueOf(q.NewEncoder), 51 "Register": reflect.ValueOf(q.Register), 52 "RegisterName": reflect.ValueOf(q.RegisterName), 53 }, 54 TypedConsts: map[string]igop.TypedConst{}, 55 UntypedConsts: map[string]igop.UntypedConst{}, 56 }) 57 }