From ea0fdee0e0f4dd129033a61598bc236d1dbfcf3c Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Thu, 5 Oct 2023 17:01:13 +0200 Subject: [PATCH] i und j sollten jetzt korrekt verwendet werden --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 26a361d..d03651c 100644 --- a/main.go +++ b/main.go @@ -42,7 +42,6 @@ func main() { }) mux.HandleFunc("/add-participant/", func(w http.ResponseWriter, r *http.Request) { i++ - j = i template.Must(template.ParseFiles("templates/index.html", "templates/participant.html")).ExecuteTemplate(w, "participant", i) }) mux.HandleFunc("/submit/", func(w http.ResponseWriter, r *http.Request) {