github.com/goplus/igop@v0.25.0/pkg/bytes/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 bytes 7 8 import ( 9 q "bytes" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "bytes", 20 Path: "bytes", 21 Deps: map[string]string{ 22 "errors": "errors", 23 "internal/bytealg": "bytealg", 24 "io": "io", 25 "unicode": "unicode", 26 "unicode/utf8": "utf8", 27 }, 28 Interfaces: map[string]reflect.Type{}, 29 NamedTypes: map[string]reflect.Type{ 30 "Buffer": reflect.TypeOf((*q.Buffer)(nil)).Elem(), 31 "Reader": reflect.TypeOf((*q.Reader)(nil)).Elem(), 32 }, 33 AliasTypes: map[string]reflect.Type{}, 34 Vars: map[string]reflect.Value{ 35 "ErrTooLarge": reflect.ValueOf(&q.ErrTooLarge), 36 }, 37 Funcs: map[string]reflect.Value{ 38 "Clone": reflect.ValueOf(q.Clone), 39 "Compare": reflect.ValueOf(q.Compare), 40 "Contains": reflect.ValueOf(q.Contains), 41 "ContainsAny": reflect.ValueOf(q.ContainsAny), 42 "ContainsFunc": reflect.ValueOf(q.ContainsFunc), 43 "ContainsRune": reflect.ValueOf(q.ContainsRune), 44 "Count": reflect.ValueOf(q.Count), 45 "Cut": reflect.ValueOf(q.Cut), 46 "CutPrefix": reflect.ValueOf(q.CutPrefix), 47 "CutSuffix": reflect.ValueOf(q.CutSuffix), 48 "Equal": reflect.ValueOf(q.Equal), 49 "EqualFold": reflect.ValueOf(q.EqualFold), 50 "Fields": reflect.ValueOf(q.Fields), 51 "FieldsFunc": reflect.ValueOf(q.FieldsFunc), 52 "HasPrefix": reflect.ValueOf(q.HasPrefix), 53 "HasSuffix": reflect.ValueOf(q.HasSuffix), 54 "Index": reflect.ValueOf(q.Index), 55 "IndexAny": reflect.ValueOf(q.IndexAny), 56 "IndexByte": reflect.ValueOf(q.IndexByte), 57 "IndexFunc": reflect.ValueOf(q.IndexFunc), 58 "IndexRune": reflect.ValueOf(q.IndexRune), 59 "Join": reflect.ValueOf(q.Join), 60 "LastIndex": reflect.ValueOf(q.LastIndex), 61 "LastIndexAny": reflect.ValueOf(q.LastIndexAny), 62 "LastIndexByte": reflect.ValueOf(q.LastIndexByte), 63 "LastIndexFunc": reflect.ValueOf(q.LastIndexFunc), 64 "Map": reflect.ValueOf(q.Map), 65 "NewBuffer": reflect.ValueOf(q.NewBuffer), 66 "NewBufferString": reflect.ValueOf(q.NewBufferString), 67 "NewReader": reflect.ValueOf(q.NewReader), 68 "Repeat": reflect.ValueOf(q.Repeat), 69 "Replace": reflect.ValueOf(q.Replace), 70 "ReplaceAll": reflect.ValueOf(q.ReplaceAll), 71 "Runes": reflect.ValueOf(q.Runes), 72 "Split": reflect.ValueOf(q.Split), 73 "SplitAfter": reflect.ValueOf(q.SplitAfter), 74 "SplitAfterN": reflect.ValueOf(q.SplitAfterN), 75 "SplitN": reflect.ValueOf(q.SplitN), 76 "Title": reflect.ValueOf(q.Title), 77 "ToLower": reflect.ValueOf(q.ToLower), 78 "ToLowerSpecial": reflect.ValueOf(q.ToLowerSpecial), 79 "ToTitle": reflect.ValueOf(q.ToTitle), 80 "ToTitleSpecial": reflect.ValueOf(q.ToTitleSpecial), 81 "ToUpper": reflect.ValueOf(q.ToUpper), 82 "ToUpperSpecial": reflect.ValueOf(q.ToUpperSpecial), 83 "ToValidUTF8": reflect.ValueOf(q.ToValidUTF8), 84 "Trim": reflect.ValueOf(q.Trim), 85 "TrimFunc": reflect.ValueOf(q.TrimFunc), 86 "TrimLeft": reflect.ValueOf(q.TrimLeft), 87 "TrimLeftFunc": reflect.ValueOf(q.TrimLeftFunc), 88 "TrimPrefix": reflect.ValueOf(q.TrimPrefix), 89 "TrimRight": reflect.ValueOf(q.TrimRight), 90 "TrimRightFunc": reflect.ValueOf(q.TrimRightFunc), 91 "TrimSpace": reflect.ValueOf(q.TrimSpace), 92 "TrimSuffix": reflect.ValueOf(q.TrimSuffix), 93 }, 94 TypedConsts: map[string]igop.TypedConst{}, 95 UntypedConsts: map[string]igop.UntypedConst{ 96 "MinRead": {"untyped int", constant.MakeInt64(int64(q.MinRead))}, 97 }, 98 }) 99 }