Closed
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
1.10.3
Does this issue reproduce with the latest release?
1.10.3 is the latest
What did you do?
I have used csv.Reader to parse a CSV file and I wanted to report an error to user in case some record contained invalid data. I also wanted to include a line number of invalid record in an error message.
What did you expect to see?
some method that would return a line number where current record starts
What did you see instead?
There is no way to get a line number of current record.