github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/gowrap/wrapbuiltin/wrap_strings.go (about)

     1  // Generated file, do not edit.
     2  
     3  package wrapbuiltin
     4  
     5  import (
     6  	"reflect"
     7  
     8  	"neugram.io/ng/eval/gowrap"
     9  
    10  	wrap_strings "strings"
    11  )
    12  
    13  var pkg_wrap_strings = &gowrap.Pkg{
    14  	Exports: map[string]reflect.Value{
    15  
    16  		"Compare":        reflect.ValueOf(wrap_strings.Compare),
    17  		"Contains":       reflect.ValueOf(wrap_strings.Contains),
    18  		"ContainsAny":    reflect.ValueOf(wrap_strings.ContainsAny),
    19  		"ContainsRune":   reflect.ValueOf(wrap_strings.ContainsRune),
    20  		"Count":          reflect.ValueOf(wrap_strings.Count),
    21  		"EqualFold":      reflect.ValueOf(wrap_strings.EqualFold),
    22  		"Fields":         reflect.ValueOf(wrap_strings.Fields),
    23  		"FieldsFunc":     reflect.ValueOf(wrap_strings.FieldsFunc),
    24  		"HasPrefix":      reflect.ValueOf(wrap_strings.HasPrefix),
    25  		"HasSuffix":      reflect.ValueOf(wrap_strings.HasSuffix),
    26  		"Index":          reflect.ValueOf(wrap_strings.Index),
    27  		"IndexAny":       reflect.ValueOf(wrap_strings.IndexAny),
    28  		"IndexByte":      reflect.ValueOf(wrap_strings.IndexByte),
    29  		"IndexFunc":      reflect.ValueOf(wrap_strings.IndexFunc),
    30  		"IndexRune":      reflect.ValueOf(wrap_strings.IndexRune),
    31  		"Join":           reflect.ValueOf(wrap_strings.Join),
    32  		"LastIndex":      reflect.ValueOf(wrap_strings.LastIndex),
    33  		"LastIndexAny":   reflect.ValueOf(wrap_strings.LastIndexAny),
    34  		"LastIndexByte":  reflect.ValueOf(wrap_strings.LastIndexByte),
    35  		"LastIndexFunc":  reflect.ValueOf(wrap_strings.LastIndexFunc),
    36  		"Map":            reflect.ValueOf(wrap_strings.Map),
    37  		"NewReader":      reflect.ValueOf(wrap_strings.NewReader),
    38  		"NewReplacer":    reflect.ValueOf(wrap_strings.NewReplacer),
    39  		"Reader":         reflect.ValueOf(reflect.TypeOf(wrap_strings.Reader{})),
    40  		"Repeat":         reflect.ValueOf(wrap_strings.Repeat),
    41  		"Replace":        reflect.ValueOf(wrap_strings.Replace),
    42  		"Replacer":       reflect.ValueOf(reflect.TypeOf(wrap_strings.Replacer{})),
    43  		"Split":          reflect.ValueOf(wrap_strings.Split),
    44  		"SplitAfter":     reflect.ValueOf(wrap_strings.SplitAfter),
    45  		"SplitAfterN":    reflect.ValueOf(wrap_strings.SplitAfterN),
    46  		"SplitN":         reflect.ValueOf(wrap_strings.SplitN),
    47  		"Title":          reflect.ValueOf(wrap_strings.Title),
    48  		"ToLower":        reflect.ValueOf(wrap_strings.ToLower),
    49  		"ToLowerSpecial": reflect.ValueOf(wrap_strings.ToLowerSpecial),
    50  		"ToTitle":        reflect.ValueOf(wrap_strings.ToTitle),
    51  		"ToTitleSpecial": reflect.ValueOf(wrap_strings.ToTitleSpecial),
    52  		"ToUpper":        reflect.ValueOf(wrap_strings.ToUpper),
    53  		"ToUpperSpecial": reflect.ValueOf(wrap_strings.ToUpperSpecial),
    54  		"Trim":           reflect.ValueOf(wrap_strings.Trim),
    55  		"TrimFunc":       reflect.ValueOf(wrap_strings.TrimFunc),
    56  		"TrimLeft":       reflect.ValueOf(wrap_strings.TrimLeft),
    57  		"TrimLeftFunc":   reflect.ValueOf(wrap_strings.TrimLeftFunc),
    58  		"TrimPrefix":     reflect.ValueOf(wrap_strings.TrimPrefix),
    59  		"TrimRight":      reflect.ValueOf(wrap_strings.TrimRight),
    60  		"TrimRightFunc":  reflect.ValueOf(wrap_strings.TrimRightFunc),
    61  		"TrimSpace":      reflect.ValueOf(wrap_strings.TrimSpace),
    62  		"TrimSuffix":     reflect.ValueOf(wrap_strings.TrimSuffix),
    63  	},
    64  }
    65  
    66  func init() {
    67  	if gowrap.Pkgs["strings"] == nil {
    68  		gowrap.Pkgs["strings"] = pkg_wrap_strings
    69  	}
    70  }