github.com/goplus/igop@v0.25.0/pkg/bytes/go120_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.20 && !go1.21 4 // +build go1.20,!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 "ContainsRune": reflect.ValueOf(q.ContainsRune), 43 "Count": reflect.ValueOf(q.Count), 44 "Cut": reflect.ValueOf(q.Cut), 45 "CutPrefix": reflect.ValueOf(q.CutPrefix), 46 "CutSuffix": reflect.ValueOf(q.CutSuffix), 47 "Equal": reflect.ValueOf(q.Equal), 48 "EqualFold": reflect.ValueOf(q.EqualFold), 49 "Fields": reflect.ValueOf(q.Fields), 50 "FieldsFunc": reflect.ValueOf(q.FieldsFunc), 51 "HasPrefix": reflect.ValueOf(q.HasPrefix), 52 "HasSuffix": reflect.ValueOf(q.HasSuffix), 53 "Index": reflect.ValueOf(q.Index), 54 "IndexAny": reflect.ValueOf(q.IndexAny), 55 "IndexByte": reflect.ValueOf(q.IndexByte), 56 "IndexFunc": reflect.ValueOf(q.IndexFunc), 57 "IndexRune": reflect.ValueOf(q.IndexRune), 58 "Join": reflect.ValueOf(q.Join), 59 "LastIndex": reflect.ValueOf(q.LastIndex), 60 "LastIndexAny": reflect.ValueOf(q.LastIndexAny), 61 "LastIndexByte": reflect.ValueOf(q.LastIndexByte), 62 "LastIndexFunc": reflect.ValueOf(q.LastIndexFunc), 63 "Map": reflect.ValueOf(q.Map), 64 "NewBuffer": reflect.ValueOf(q.NewBuffer), 65 "NewBufferString": reflect.ValueOf(q.NewBufferString), 66 "NewReader": reflect.ValueOf(q.NewReader), 67 "Repeat": reflect.ValueOf(q.Repeat), 68 "Replace": reflect.ValueOf(q.Replace), 69 "ReplaceAll": reflect.ValueOf(q.ReplaceAll), 70 "Runes": reflect.ValueOf(q.Runes), 71 "Split": reflect.ValueOf(q.Split), 72 "SplitAfter": reflect.ValueOf(q.SplitAfter), 73 "SplitAfterN": reflect.ValueOf(q.SplitAfterN), 74 "SplitN": reflect.ValueOf(q.SplitN), 75 "Title": reflect.ValueOf(q.Title), 76 "ToLower": reflect.ValueOf(q.ToLower), 77 "ToLowerSpecial": reflect.ValueOf(q.ToLowerSpecial), 78 "ToTitle": reflect.ValueOf(q.ToTitle), 79 "ToTitleSpecial": reflect.ValueOf(q.ToTitleSpecial), 80 "ToUpper": reflect.ValueOf(q.ToUpper), 81 "ToUpperSpecial": reflect.ValueOf(q.ToUpperSpecial), 82 "ToValidUTF8": reflect.ValueOf(q.ToValidUTF8), 83 "Trim": reflect.ValueOf(q.Trim), 84 "TrimFunc": reflect.ValueOf(q.TrimFunc), 85 "TrimLeft": reflect.ValueOf(q.TrimLeft), 86 "TrimLeftFunc": reflect.ValueOf(q.TrimLeftFunc), 87 "TrimPrefix": reflect.ValueOf(q.TrimPrefix), 88 "TrimRight": reflect.ValueOf(q.TrimRight), 89 "TrimRightFunc": reflect.ValueOf(q.TrimRightFunc), 90 "TrimSpace": reflect.ValueOf(q.TrimSpace), 91 "TrimSuffix": reflect.ValueOf(q.TrimSuffix), 92 }, 93 TypedConsts: map[string]igop.TypedConst{}, 94 UntypedConsts: map[string]igop.UntypedConst{ 95 "MinRead": {"untyped int", constant.MakeInt64(int64(q.MinRead))}, 96 }, 97 }) 98 }