github.com/goplus/gossa@v0.3.25/pkg/strings/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package strings 7 8 import ( 9 q "strings" 10 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "strings", 19 Path: "strings", 20 Deps: map[string]string{ 21 "errors": "errors", 22 "internal/bytealg": "bytealg", 23 "io": "io", 24 "sync": "sync", 25 "unicode": "unicode", 26 "unicode/utf8": "utf8", 27 "unsafe": "unsafe", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]gossa.NamedType{ 31 "Builder": {reflect.TypeOf((*q.Builder)(nil)).Elem(), "", "Cap,Grow,Len,Reset,String,Write,WriteByte,WriteRune,WriteString,copyCheck,grow"}, 32 "Reader": {reflect.TypeOf((*q.Reader)(nil)).Elem(), "", "Len,Read,ReadAt,ReadByte,ReadRune,Reset,Seek,Size,UnreadByte,UnreadRune,WriteTo"}, 33 "Replacer": {reflect.TypeOf((*q.Replacer)(nil)).Elem(), "", "Replace,WriteString,build,buildOnce"}, 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 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 "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 "NewReader": reflect.ValueOf(q.NewReader), 62 "NewReplacer": reflect.ValueOf(q.NewReplacer), 63 "Repeat": reflect.ValueOf(q.Repeat), 64 "Replace": reflect.ValueOf(q.Replace), 65 "ReplaceAll": reflect.ValueOf(q.ReplaceAll), 66 "Split": reflect.ValueOf(q.Split), 67 "SplitAfter": reflect.ValueOf(q.SplitAfter), 68 "SplitAfterN": reflect.ValueOf(q.SplitAfterN), 69 "SplitN": reflect.ValueOf(q.SplitN), 70 "Title": reflect.ValueOf(q.Title), 71 "ToLower": reflect.ValueOf(q.ToLower), 72 "ToLowerSpecial": reflect.ValueOf(q.ToLowerSpecial), 73 "ToTitle": reflect.ValueOf(q.ToTitle), 74 "ToTitleSpecial": reflect.ValueOf(q.ToTitleSpecial), 75 "ToUpper": reflect.ValueOf(q.ToUpper), 76 "ToUpperSpecial": reflect.ValueOf(q.ToUpperSpecial), 77 "ToValidUTF8": reflect.ValueOf(q.ToValidUTF8), 78 "Trim": reflect.ValueOf(q.Trim), 79 "TrimFunc": reflect.ValueOf(q.TrimFunc), 80 "TrimLeft": reflect.ValueOf(q.TrimLeft), 81 "TrimLeftFunc": reflect.ValueOf(q.TrimLeftFunc), 82 "TrimPrefix": reflect.ValueOf(q.TrimPrefix), 83 "TrimRight": reflect.ValueOf(q.TrimRight), 84 "TrimRightFunc": reflect.ValueOf(q.TrimRightFunc), 85 "TrimSpace": reflect.ValueOf(q.TrimSpace), 86 "TrimSuffix": reflect.ValueOf(q.TrimSuffix), 87 }, 88 TypedConsts: map[string]gossa.TypedConst{}, 89 UntypedConsts: map[string]gossa.UntypedConst{}, 90 }) 91 }