From 5deb037fe59c2bb5ab33eaef4b7ebe0fd351263e Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Fri, 25 Apr 2025 18:27:23 +0200 Subject: [PATCH] Apply go fmt --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ba69126..0b6b41a 100644 --- a/main.go +++ b/main.go @@ -281,7 +281,7 @@ func main() { platform = &query["platform"][0] } - c := efaClients[(efaClient.Add(1) - 1) % uint64(len(efaClients))] + c := efaClients[(efaClient.Add(1)-1)%uint64(len(efaClients))] ds, err := FetchDepartures(c, stopId) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError)