Fixed import paths for null package, add byte typ

This commit is contained in:
Patrick O'brien 2016-11-12 12:02:44 +10:00
parent 3d22dc0897
commit 86ca3bbcea
8 changed files with 47 additions and 26 deletions
strmangle

View file

@ -380,7 +380,7 @@ func MakeStringMap(types map[string]string) string {
c := 0
for _, k := range keys {
v := types[k]
buf.WriteString(fmt.Sprintf(`"%s": "%s"`, k, v))
buf.WriteString(fmt.Sprintf("`%s`: `%s`", k, v))
if c < len(types)-1 {
buf.WriteString(", ")
}