Indent backend.json to make it easier to update

This commit is contained in:
Peter Stuifzand 2018-05-16 21:38:47 +02:00
parent 6be1f78130
commit 00b041b981

View File

@ -101,6 +101,7 @@ func (b *memoryBackend) save() {
f, _ := os.Create(filename)
defer f.Close()
jw := json.NewEncoder(f)
jw.SetIndent("", " ")
jw.Encode(b)
}