Add a missing trailing 'e' to the encoding of maps

This commit is contained in:
Justin Li
2014-07-06 17:49:28 -04:00
parent e1575d1fa3
commit 09515864db
2 changed files with 2 additions and 7 deletions

View File

@@ -83,6 +83,7 @@ func marshal(w io.Writer, data interface{}) error {
return err
}
}
fmt.Fprintf(w, "e")
case []string:
fmt.Fprintf(w, "l")