mirror of https://github.com/golang/go.git
Many uses of Index/IndexByte/IndexRune/Split/SplitN can be written more clearly using the new Cut functions. Do that. Also rewrite to other functions if that's clearer. For #46336. Change-Id: I68d024716ace41a57a8bf74455c62279bde0f448 Reviewed-on: https://go-review.googlesource.com/c/go/+/351711 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> |
||
|---|---|---|
| .. | ||
| testdata | ||
| atob.go | ||
| atob_test.go | ||
| atoc.go | ||
| atoc_test.go | ||
| atof.go | ||
| atof_test.go | ||
| atoi.go | ||
| atoi_test.go | ||
| bytealg.go | ||
| bytealg_bootstrap.go | ||
| ctoa.go | ||
| ctoa_test.go | ||
| decimal.go | ||
| decimal_test.go | ||
| doc.go | ||
| eisel_lemire.go | ||
| example_test.go | ||
| export_test.go | ||
| fp_test.go | ||
| ftoa.go | ||
| ftoa_test.go | ||
| ftoaryu.go | ||
| ftoaryu_test.go | ||
| internal_test.go | ||
| isprint.go | ||
| itoa.go | ||
| itoa_test.go | ||
| makeisprint.go | ||
| quote.go | ||
| quote_test.go | ||
| strconv_test.go | ||