Compare commits
2 Commits
b570b77a17
...
ea0fdee0e0
Author | SHA1 | Date | |
---|---|---|---|
ea0fdee0e0 | |||
61c895d53f |
1
main.go
1
main.go
@ -42,7 +42,6 @@ func main() {
|
|||||||
})
|
})
|
||||||
mux.HandleFunc("/add-participant/", func(w http.ResponseWriter, r *http.Request) {
|
mux.HandleFunc("/add-participant/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
i++
|
i++
|
||||||
j = i
|
|
||||||
template.Must(template.ParseFiles("templates/index.html", "templates/participant.html")).ExecuteTemplate(w, "participant", 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) {
|
mux.HandleFunc("/submit/", func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user