Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(187)

Issue 1696062: code review 1696062: bytes: add IndexRune, FieldsFunc and To*Special (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 7 months ago by chressie
Modified:
14 years, 7 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : code review 1696062: bytes: add IndexRune, FieldsFunc and To*Special #

Patch Set 3 : code review 1696062: bytes: add IndexRune, FieldsFunc and To*Special #

Patch Set 4 : code review 1696062: bytes: add IndexRune, FieldsFunc and To*Special #

Total comments: 2

Patch Set 5 : code review 1696062: bytes: add IndexRune, FieldsFunc and To*Special #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -5 lines) Patch
M src/pkg/bytes/bytes.go View 1 2 3 4 5 chunks +45 lines, -4 lines 0 comments Download
M src/pkg/bytes/bytes_test.go View 1 2 3 4 3 chunks +37 lines, -0 lines 0 comments Download
M src/pkg/strings/strings.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9
chressie
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 7 months ago (2010-08-04 08:30:13 UTC) #1
chressie
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 7 months ago (2010-08-04 08:54:39 UTC) #2
rsc1
R=r
14 years, 7 months ago (2010-08-04 17:39:32 UTC) #3
r2
Looks good, but in the comments please say "UTF-8-encoded Unicode code points". It doesn't say ...
14 years, 7 months ago (2010-08-05 11:23:55 UTC) #4
chressie
Hello r (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 7 months ago (2010-08-05 12:15:16 UTC) #5
r
http://codereview.appspot.com/1696062/diff/14001/15001 File src/pkg/bytes/bytes.go (right): http://codereview.appspot.com/1696062/diff/14001/15001#newcode131 src/pkg/bytes/bytes.go:131: // It returns the byte index of the first ...
14 years, 7 months ago (2010-08-05 12:55:06 UTC) #6
chressie
Hello r (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 7 months ago (2010-08-05 13:07:58 UTC) #7
r2
LGTM and thanks. -rob
14 years, 7 months ago (2010-08-05 13:10:16 UTC) #8
r
14 years, 7 months ago (2010-08-05 13:11:10 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=e207859ca1a0 ***

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
http://codereview.appspot.com/1696062

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b