Fix comment indentation in generic.go

fasthttp
maru 2024-04-10 02:54:12 -04:00
parent 5893350784
commit af5f9798ae
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
// /game
// /game
case "/game/playercount":
w.Write([]byte(strconv.Itoa(playerCount)))
case "/game/titlestats":
@ -127,7 +127,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
case "/game/classicsessioncount":
w.Write([]byte(strconv.Itoa(classicSessionCount)))
// /savedata
// /savedata
case "/savedata/get", "/savedata/update", "/savedata/delete", "/savedata/clear":
uuid, err := getUUIDFromRequest(r)
if err != nil {
@ -205,7 +205,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
// /daily
// /daily
case "/daily/seed":
w.Write([]byte(dailyRunSeed))
case "/daily/rankings":