github.com/goplus/igop@v0.25.0/pkg/encoding/binary/go114_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package binary 6 7 import ( 8 q "encoding/binary" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "binary", 19 Path: "encoding/binary", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "io": "io", 23 "math": "math", 24 "reflect": "reflect", 25 "sync": "sync", 26 }, 27 Interfaces: map[string]reflect.Type{ 28 "ByteOrder": reflect.TypeOf((*q.ByteOrder)(nil)).Elem(), 29 }, 30 NamedTypes: map[string]reflect.Type{}, 31 AliasTypes: map[string]reflect.Type{}, 32 Vars: map[string]reflect.Value{ 33 "BigEndian": reflect.ValueOf(&q.BigEndian), 34 "LittleEndian": reflect.ValueOf(&q.LittleEndian), 35 }, 36 Funcs: map[string]reflect.Value{ 37 "PutUvarint": reflect.ValueOf(q.PutUvarint), 38 "PutVarint": reflect.ValueOf(q.PutVarint), 39 "Read": reflect.ValueOf(q.Read), 40 "ReadUvarint": reflect.ValueOf(q.ReadUvarint), 41 "ReadVarint": reflect.ValueOf(q.ReadVarint), 42 "Size": reflect.ValueOf(q.Size), 43 "Uvarint": reflect.ValueOf(q.Uvarint), 44 "Varint": reflect.ValueOf(q.Varint), 45 "Write": reflect.ValueOf(q.Write), 46 }, 47 TypedConsts: map[string]igop.TypedConst{}, 48 UntypedConsts: map[string]igop.UntypedConst{ 49 "MaxVarintLen16": {"untyped int", constant.MakeInt64(int64(q.MaxVarintLen16))}, 50 "MaxVarintLen32": {"untyped int", constant.MakeInt64(int64(q.MaxVarintLen32))}, 51 "MaxVarintLen64": {"untyped int", constant.MakeInt64(int64(q.MaxVarintLen64))}, 52 }, 53 }) 54 }