-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
function/stdlib: Consistent csvdecode error messages
Go 1.17 changes the way the CSV parser reports columns in its error objects, causing our error results to be inconsistent depending on which Go version we're built with. In order to make the error messages consistent we'll use our own custom error formatter for that case. This does mean we lose the column number in the error message, but we'll still include the line number where the problem was detected.
- Loading branch information
1 parent
84ff582
commit 47a7961
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters