Move split functionality into a new *Scanner type.

Using a scanner allows incremental processing of an io.Reader.  The Split
function is now implemented using a scanner internally.  This commit also adds
running examples using the scanner type.
2 files changed
tree: 4929a6d881b87124457feb5a127e3903bad8f237
  1. LICENSE
  2. README.md
  3. shell.go
  4. shell_test.go
README.md

shell

The shell package implements basic shell command-line splitting.

View documentation on GoDoc.