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

Issue 940041: code review 940041: Added 'ReadRune' to strings.Reader (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by Kyle C
Modified:
14 years, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Added 'ReadRune' to strings.Reader

Patch Set 1 #

Patch Set 2 : code review 940041: Added 'ReadRune' to strings.Reader #

Patch Set 3 : code review 940041: Added 'ReadRune' to strings.Reader #

Total comments: 7

Patch Set 4 : code review 940041: Added 'ReadRune' to strings.Reader #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M src/pkg/strings/reader.go View 1 2 3 2 chunks +25 lines, -2 lines 0 comments Download
M src/pkg/strings/strings_test.go View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Kyle C
Hello golang-dev@googlecode.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 11 months ago (2010-04-20 17:35:32 UTC) #1
rsc
Looks reasonable, but it needs a method comment. I'd suggest lifting the one from bytes.Buffer's ...
14 years, 11 months ago (2010-04-21 03:13:25 UTC) #2
Kyle C
Hello golang-dev@googlecode.com (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 11 months ago (2010-04-21 04:01:03 UTC) #3
Kyle C
Also updated to have the same behavior on invalid utf8 that bytes.Buffer.ReadRune() has, as I ...
14 years, 11 months ago (2010-04-21 04:04:44 UTC) #4
rsc
On Tue, Apr 20, 2010 at 21:04, Kyle Consalus <consalus@gmail.com> wrote: > Also updated to ...
14 years, 11 months ago (2010-04-21 04:13:18 UTC) #5
rsc1
Looks pretty good. http://codereview.appspot.com/940041/diff/4003/7001 File src/pkg/strings/reader.go (right): http://codereview.appspot.com/940041/diff/4003/7001#newcode7 src/pkg/strings/reader.go:7: import "os" Use factored import import ...
14 years, 11 months ago (2010-04-21 04:18:32 UTC) #6
Kyle C
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 11 months ago (2010-04-21 04:49:17 UTC) #7
rsc1
LGTM Thanks.
14 years, 11 months ago (2010-04-21 04:57:58 UTC) #8
rsc
14 years, 11 months ago (2010-04-21 05:18:28 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=f2f77ab4c9f4 ***

strings: add ReadRune to Reader

R=rsc
CC=golang-dev
http://codereview.appspot.com/940041

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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