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