You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using env files with lines > 64k parsing would fail due to the Scanner's default maxToken size.
It seems that using ReadLine is the optimal manner to resolve this
Particularly as I don't see a good way to expose the max token size as part of godotenv.
But I am new to GoLang so maybe I am missing something...
When using env files with lines > 64k parsing would fail due to the Scanner's default maxToken size.
It seems that using ReadLine is the optimal manner to resolve this
Particularly as I don't see a good way to expose the max token size as part of godotenv.
But I am new to GoLang so maybe I am missing something...
references:
https://pkg.go.dev/[email protected]#Reader.ReadLine
https://stackoverflow.com/questions/21124327/how-to-read-a-text-file-line-by-line-in-go-when-some-lines-are-long-enough-to-ca
The text was updated successfully, but these errors were encountered: