From af5f9798ae3de22754885321557fd05a1ef3bdef Mon Sep 17 00:00:00 2001 From: maru Date: Wed, 10 Apr 2024 02:54:12 -0400 Subject: [PATCH] Fix comment indentation in generic.go --- api/generic.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/generic.go b/api/generic.go index aab0b7b..0c0b46a 100644 --- a/api/generic.go +++ b/api/generic.go @@ -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":