26aafe16a83ddab0d82ad79e4e229c3ae46c0f4d
toInt and toUint passed base 0 to strconv, which infers the base from the literal the way the Go compiler does. A zero-padded CSV field was then read as octal: 08 and 09 failed with invalid syntax and 010 silently parsed as 8. Pass base 10 at both call sites. Go-style prefixed literals such as 0x1f are no longer accepted; they were undocumented and untested, and cannot be kept without keeping the octal reading of 010 as well. Closes #182
Description
My contributions to gocarina/gocsv: 5 commits, 4 merged PRs
92 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
100%