Use key:value initializers for the state machine.

This change is a no-op, but I think improves the readability of the code.  It
turns out you can initialize the slice and array literals with key:value pairs
where the key is an index.
1 file changed
tree: 5408747db4bd76240f93f167871b4ededdb5cd7e
  1. bench_test.go
  2. bitbucket-pipelines.yml
  3. go.mod
  4. LICENSE
  5. README.md
  6. shell.go
  7. shell_test.go
README.md

shell

http://godoc.org/bitbucket.org/creachadair/shell

The shell package implements basic shell command-line splitting.