Hacker News new | ask | show | jobs
Show HN: Catslack (github.com)
9 points by mjdesa 3739 days ago
1 comments

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.

I submitted a pull request to fix that issue, plus a couple of others over at https://github.com/enzanki-ars/catslack.
Thanks for the tip!