Compare commits
2 Commits
ea0fdee0e0
...
b570b77a17
Author | SHA1 | Date | |
---|---|---|---|
b570b77a17 | |||
71bf8978ac |
1
main.go
1
main.go
@ -42,6 +42,7 @@ 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