UnnoTed / fileb0x

a better customizable tool to embed files in go; also update embedded files remotely without restarting the server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bufio.Scanner limitations

iu0v1 opened this issue · comments

Hey.
When trying to build a big project came across a problem:

panic: bufio.Scanner: token too long

goroutine 1 [running]:
main.main()
        Q:/Soft/Go/GOPATH/src/github.com/UnnoTed/fileb0x/main.go:127 +0x24f1
main.go:1: running "fileb0x": exit status 2

As a solution I would suggest using bufio.Reader (PR on the way).