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