mirror of https://github.com/golang/go.git
Using 'sep' as parameter name for strings functions that take a separator argument is fine, but for functions like Index or Count that look for a substring it's better to use 'substr' (like Contains already does). Fixes #19039 Change-Id: Idd557409c8fea64ce830ab0e3fec37d3d56a79f0 Reviewed-on: https://go-review.googlesource.com/36874 Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
|---|---|---|
| .. | ||
| compare.go | ||
| compare_test.go | ||
| example_test.go | ||
| export_test.go | ||
| reader.go | ||
| reader_test.go | ||
| replace.go | ||
| replace_test.go | ||
| search.go | ||
| search_test.go | ||
| strings.go | ||
| strings.s | ||
| strings_amd64.go | ||
| strings_decl.go | ||
| strings_generic.go | ||
| strings_s390x.go | ||
| strings_test.go | ||