gron
gron copied to clipboard
Scanner error: token too long
When using gron -s
, I am seeing the following error:
bufio.Scanner: token too long: %!s(MISSING)
I'm happy to submit a PR increasing the default buffer size to something you'd approve. Alternatively, I was thinking about how the buffer size could be provided as an option - I noticed there's only a single option passed in to the function now.
Referring to: https://github.com/tomnomnom/gron/blob/master/main.go#L267
Why create a buffer size? can't we just use dynamic?