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

Issue 5639068: code review 5639068: strings: add Seek method to Reader (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by bradfitz
Modified:
12 years, 2 months ago
Reviewers:
CC:
golang-dev, r, rsc, rsc1
Visibility:
Public.

Description

strings: add Seek method to Reader strings.Reader is already stateful and read-only. This permits a *Reader with http.ServeContent.

Patch Set 1 #

Patch Set 2 : diff -r a90ca1755aa5 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r a90ca1755aa5 https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 4 : diff -r a90ca1755aa5 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 89da6b62370f https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 1edfcf8258af https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -1 line) Patch
M src/pkg/strings/reader.go View 1 2 3 4 3 chunks +30 lines, -1 line 0 comments Download
A src/pkg/strings/reader_test.go View 1 2 3 4 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 10
bradfitz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 2 months ago (2012-02-09 04:16:39 UTC) #1
r
i'd rather not, but am willing to hear what others think. the new dependency bothers ...
12 years, 2 months ago (2012-02-09 04:54:19 UTC) #2
rsc
I'm fine with adding Seek. (See also issue 2681, for after Go 1.) Please do ...
12 years, 2 months ago (2012-02-09 04:59:33 UTC) #3
bradfitz
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 2 months ago (2012-02-09 05:19:47 UTC) #4
rsc1
LGTM but wait for r
12 years, 2 months ago (2012-02-09 05:25:17 UTC) #5
r
add a test
12 years, 2 months ago (2012-02-09 05:56:26 UTC) #6
bradfitz
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org, rsc@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 2 months ago (2012-02-09 06:13:38 UTC) #7
bradfitz
done On Wed, Feb 8, 2012 at 9:56 PM, <r@golang.org> wrote: > add a test ...
12 years, 2 months ago (2012-02-09 06:15:21 UTC) #8
r
LGTM
12 years, 2 months ago (2012-02-09 06:17:38 UTC) #9
bradfitz
12 years, 2 months ago (2012-02-09 06:28:47 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=e86e50000118 ***

strings: add Seek method to Reader

strings.Reader is already stateful and read-only.

This permits a *Reader with http.ServeContent.

R=golang-dev, r, rsc, rsc
CC=golang-dev
http://codereview.appspot.com/5639068
Sign in to reply to this message.

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