Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
1b311776
Commit
1b311776
authored
Mar 05, 2012
by
Paul Borman
Committed by
Russ Cox
Mar 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
csv: clarify what a negative FieldsPerRecord means
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5729068
parent
8dbd9d74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
reader.go
src/pkg/encoding/csv/reader.go
+2
-1
No files found.
src/pkg/encoding/csv/reader.go
View file @
1b311776
...
@@ -92,7 +92,8 @@ var (
...
@@ -92,7 +92,8 @@ var (
// If FieldsPerRecord is positive, Read requires each record to
// If FieldsPerRecord is positive, Read requires each record to
// have the given number of fields. If FieldsPerRecord is 0, Read sets it to
// have the given number of fields. If FieldsPerRecord is 0, Read sets it to
// the number of fields in the first record, so that future records must
// the number of fields in the first record, so that future records must
// have the same field count.
// have the same field count. If FieldsPerRecord is negative, no check is
// made and records may have a variable number of fields.
//
//
// If LazyQuotes is true, a quote may appear in an unquoted field and a
// If LazyQuotes is true, a quote may appear in an unquoted field and a
// non-doubled quote may appear in a quoted field.
// non-doubled quote may appear in a quoted field.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment