]> Cypherpunks repositories - gostls13.git/commit
encoding/csv: rename ParseError.RecordLine to .StartLine
authorRuss Cox <rsc@golang.org>
Tue, 14 Nov 2017 18:23:10 +0000 (13:23 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 15 Nov 2017 21:26:52 +0000 (21:26 +0000)
commitc4c3f2a1f2d9ee0735aba1583bb2a3301ec790d3
treee08d24089a784ece80eba485f438c7490ad3707a
parent9232a612fed58d2629073056f827db3fae0cd5f0
encoding/csv: rename ParseError.RecordLine to .StartLine

A record can span multiple lines (the whole reason for the extra field),
so the important fact is that it's the _start_ of the record.
Make that clear in the name.

(This API was added during the Go 1.10 cycle so it can still be cleaned up.)

Change-Id: Id95b3ceb7cdfc4aa0ed5a053cb84da8945fa5496
Reviewed-on: https://go-review.googlesource.com/78119
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
src/encoding/csv/reader.go
src/encoding/csv/reader_test.go