Fix comment indentation in generic.go
parent
5893350784
commit
af5f9798ae
|
@ -112,7 +112,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
|
|
||||||
// /game
|
// /game
|
||||||
case "/game/playercount":
|
case "/game/playercount":
|
||||||
w.Write([]byte(strconv.Itoa(playerCount)))
|
w.Write([]byte(strconv.Itoa(playerCount)))
|
||||||
case "/game/titlestats":
|
case "/game/titlestats":
|
||||||
|
@ -127,7 +127,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
case "/game/classicsessioncount":
|
case "/game/classicsessioncount":
|
||||||
w.Write([]byte(strconv.Itoa(classicSessionCount)))
|
w.Write([]byte(strconv.Itoa(classicSessionCount)))
|
||||||
|
|
||||||
// /savedata
|
// /savedata
|
||||||
case "/savedata/get", "/savedata/update", "/savedata/delete", "/savedata/clear":
|
case "/savedata/get", "/savedata/update", "/savedata/delete", "/savedata/clear":
|
||||||
uuid, err := getUUIDFromRequest(r)
|
uuid, err := getUUIDFromRequest(r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -205,7 +205,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// /daily
|
// /daily
|
||||||
case "/daily/seed":
|
case "/daily/seed":
|
||||||
w.Write([]byte(dailyRunSeed))
|
w.Write([]byte(dailyRunSeed))
|
||||||
case "/daily/rankings":
|
case "/daily/rankings":
|
||||||
|
|
Loading…
Reference in New Issue