Run formatter on code
parent
4a017b0f32
commit
8f51cd826c
|
@ -210,7 +210,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: make this not suck
|
// TODO: make this not suck
|
||||||
if !active && r.URL.Path != "/savedata/clear"{
|
if !active && r.URL.Path != "/savedata/clear" {
|
||||||
httpError(w, r, fmt.Errorf("session out of date"), http.StatusBadRequest)
|
httpError(w, r, fmt.Errorf("session out of date"), http.StatusBadRequest)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,6 @@ func main() {
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
|
||||||
// register gob types
|
// register gob types
|
||||||
gob.Register([]interface{}{})
|
gob.Register([]interface{}{})
|
||||||
gob.Register(map[string]interface{}{})
|
gob.Register(map[string]interface{}{})
|
||||||
|
|
Loading…
Reference in New Issue