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

Issue 4629085: code review 4629085: csv: new package (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by borman
Modified:
12 years, 10 months ago
Reviewers:
CC:
rsc, mattn, r2, dchest, golang-dev
Visibility:
Public.

Description

csv: new package csv reader/writer based on RFC 4180

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r 916057d73e34 https://go.googlecode.com/hg/ #

Total comments: 72

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

Patch Set 7 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Total comments: 23

Patch Set 8 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Total comments: 12

Patch Set 11 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 13 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Patch Set 14 : diff -r dd31a3b56536 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+817 lines, -0 lines) Patch
A src/pkg/csv/Makefile View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +12 lines, -0 lines 0 comments Download
A src/pkg/csv/reader.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +373 lines, -0 lines 0 comments Download
A src/pkg/csv/reader_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +265 lines, -0 lines 0 comments Download
A src/pkg/csv/writer.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +123 lines, -0 lines 0 comments Download
A src/pkg/csv/writer_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 27
borman
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, 10 months ago (2011-06-30 03:08:11 UTC) #1
borman
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-30 03:09:23 UTC) #2
rsc
Lots of little things but very good code. http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go File src/pkg/csv/csv.go (right): http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go#newcode1 src/pkg/csv/csv.go:1: // ...
12 years, 10 months ago (2011-06-30 04:32:38 UTC) #3
mattn
http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go File src/pkg/csv/csv.go (right): http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go#newcode48 src/pkg/csv/csv.go:48: // ·Multi-line please don't use non-ascii character for comment. ...
12 years, 10 months ago (2011-06-30 05:04:46 UTC) #4
r2
On Jun 30, 2011, at 3:04 PM, mattn.jp@gmail.com wrote: > > http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go > File src/pkg/csv/csv.go ...
12 years, 10 months ago (2011-06-30 05:40:54 UTC) #5
borman
Hello rsc@golang.org, mattn.jp@gmail.com, r@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-30 05:47:11 UTC) #6
borman
http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go File src/pkg/csv/csv.go (right): http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go#newcode1 src/pkg/csv/csv.go:1: // Copyright 2011 The Go Authors. All rights reserved. ...
12 years, 10 months ago (2011-06-30 05:47:16 UTC) #7
rsc
> I agree I should rename these but I am not sure what that will ...
12 years, 10 months ago (2011-06-30 11:48:43 UTC) #8
borman
On Thu, Jun 30, 2011 at 4:48 AM, Russ Cox <rsc@golang.org> wrote: > > I ...
12 years, 10 months ago (2011-06-30 14:34:16 UTC) #9
rsc
writer http://codereview.appspot.com/4629085/diff/6006/src/pkg/csv/writer.go File src/pkg/csv/writer.go (right): http://codereview.appspot.com/4629085/diff/6006/src/pkg/csv/writer.go#newcode23 src/pkg/csv/writer.go:23: // If UseCRLF is true then \r\n is ...
12 years, 10 months ago (2011-06-30 14:56:20 UTC) #10
rsc
http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go File src/pkg/csv/csv.go (right): http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv.go#newcode48 src/pkg/csv/csv.go:48: // ·Multi-line On 2011/06/30 05:47:16, borman wrote: > On ...
12 years, 10 months ago (2011-06-30 15:13:02 UTC) #11
dchest
http://codereview.appspot.com/4629085/diff/6006/src/pkg/csv/csv.go File src/pkg/csv/csv.go (right): http://codereview.appspot.com/4629085/diff/6006/src/pkg/csv/csv.go#newcode104 src/pkg/csv/csv.go:104: Comma int // Field delimiter (set to to ',' ...
12 years, 10 months ago (2011-06-30 15:44:46 UTC) #12
borman
I still need to rework the tests to the new form and rename the files. ...
12 years, 10 months ago (2011-06-30 16:53:06 UTC) #13
borman
Hello rsc@golang.org, mattn.jp@gmail.com, r@google.com, dchest@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-30 16:53:54 UTC) #14
rsc
>> rune, _, _ := utf8.DecodeRuneInString(field) >> avoids creating the new strings.Reader. > > Great! ...
12 years, 10 months ago (2011-06-30 17:11:34 UTC) #15
borman
Hello rsc@golang.org, mattn.jp@gmail.com, r@google.com, dchest@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-07-01 03:58:49 UTC) #16
borman
http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv_test.go File src/pkg/csv/csv_test.go (right): http://codereview.appspot.com/4629085/diff/6002/src/pkg/csv/csv_test.go#newcode212 src/pkg/csv/csv_test.go:212: testCSV(t, &Test{ On 2011/06/30 04:32:38, rsc wrote: > It's ...
12 years, 10 months ago (2011-07-01 04:00:10 UTC) #17
mattn
LGTM http://codereview.appspot.com/4629085/diff/12003/src/pkg/csv/csv_test.go File src/pkg/csv/csv_test.go (right): http://codereview.appspot.com/4629085/diff/12003/src/pkg/csv/csv_test.go#newcode9 src/pkg/csv/csv_test.go:9: //"os" please remove. http://codereview.appspot.com/4629085/diff/12003/src/pkg/csv/writer.go File src/pkg/csv/writer.go (right): http://codereview.appspot.com/4629085/diff/12003/src/pkg/csv/writer.go#newcode58 ...
12 years, 10 months ago (2011-07-01 04:08:43 UTC) #18
borman
http://codereview.appspot.com/4629085/diff/12003/src/pkg/csv/csv_test.go File src/pkg/csv/csv_test.go (right): http://codereview.appspot.com/4629085/diff/12003/src/pkg/csv/csv_test.go#newcode9 src/pkg/csv/csv_test.go:9: //"os" On 2011/07/01 04:08:43, mattn wrote: > please remove. ...
12 years, 10 months ago (2011-07-01 07:54:25 UTC) #19
borman
Hello rsc@golang.org, mattn.jp@gmail.com, r@google.com, dchest@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-07-01 07:54:45 UTC) #20
rsc
Looks great except for the duplication in the writer test. http://codereview.appspot.com/4629085/diff/14008/src/pkg/csv/Makefile File src/pkg/csv/Makefile (right): http://codereview.appspot.com/4629085/diff/14008/src/pkg/csv/Makefile#newcode1 ...
12 years, 10 months ago (2011-07-01 14:40:40 UTC) #21
borman
http://codereview.appspot.com/4629085/diff/14008/src/pkg/csv/Makefile File src/pkg/csv/Makefile (right): http://codereview.appspot.com/4629085/diff/14008/src/pkg/csv/Makefile#newcode1 src/pkg/csv/Makefile:1: # Copyright 2009 The Go Authors. All rights reserved. ...
12 years, 10 months ago (2011-07-01 15:22:54 UTC) #22
borman
Hello rsc@golang.org, mattn.jp@gmail.com, r@google.com, dchest@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-07-01 15:23:03 UTC) #23
rsc
LGTM Please mv csv.go reader.go mv csv_test.go reader_test.go hg change 4629085 ... edit file list ...
12 years, 10 months ago (2011-07-01 15:39:30 UTC) #24
borman
Hello rsc@golang.org, mattn.jp@gmail.com, r@google.com, dchest@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-07-01 15:43:12 UTC) #25
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=620afc45f351 *** csv: new package csv reader/writer based on RFC 4180 R=rsc, ...
12 years, 10 months ago (2011-07-01 16:17:04 UTC) #26
borman
12 years, 10 months ago (2011-07-22 21:53:47 UTC) #27
*** Abandoned ***
Sign in to reply to this message.

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