This is how it's supposed to work. From the fmt documentation, with
added emphasis:
"Scan scans text read from standard input, storing *successive
space-separated values* into successive arguments."
If you want to read in an entire line, try bufio.Reader's ReadLine.
- Evan