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