|
|
|
|
|
by 0942v8653
3738 days ago
|
|
Why require the string "EOF" at the end? Wh not wait for the actual EOF? Does it do multiple messages from the same pipe? Edit: no, it doesn't. If you want to change this, you can use https://golang.org/pkg/io/ioutil/#ReadAll instead of bufio scanners. |
|