mirror of
https://github.com/arnaucube/go-dvote.git
synced 2026-02-28 05:26:46 +01:00
changed serialization logic to json strings, added batch compaction
This commit is contained in:
@@ -45,6 +45,9 @@ func parse(rw http.ResponseWriter, request *http.Request) {
|
||||
}
|
||||
|
||||
j, err := json.Marshal(e)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
io.WriteString(rw, string(j))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user