]> Cypherpunks repositories - gostls13.git/commit
bytes: add IndexRune, FieldsFunc and To*Special
authorChristian Himpel <chressie@googlemail.com>
Thu, 5 Aug 2010 13:11:06 +0000 (23:11 +1000)
committerRob Pike <r@golang.org>
Thu, 5 Aug 2010 13:11:06 +0000 (23:11 +1000)
commit75f6a0c759e21b3a0fd7ef7c52b73fa24d91eb2e
tree962b49ca35368ff0970fa3c7cba7c81daa2b42cf
parent895c5db6df786e9312d187f27d6a4538afd4b0b1
bytes: add IndexRune, FieldsFunc and To*Special

Basically these functions are implemented the same way as the
corresponding functions in the strings package.  Test functions
are implemented for IndexRune and FieldsFunc.

Additionally two typos are fixed in packages bytes and strings.

R=r
CC=golang-dev
https://golang.org/cl/1696062
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go
src/pkg/strings/strings.go