added docs and comments

This commit is contained in:
Derek McQuay
2017-03-14 20:09:02 -07:00
parent 4eae02d0e2
commit b87a297986
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@ import (
"strings"
)
// Parse decides what commands to run and returns a string containing the
// value of a read or an error if one occured.
func Parse(s string, d *DB) (string, error) {
args := strings.Split(s, " ")