i und j sollten jetzt korrekt verwendet werden
This commit is contained in:
parent
61c895d53f
commit
ea0fdee0e0
1
main.go
1
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user