Add POST /election

This commit is contained in:
2024-12-27 18:03:46 +01:00
parent 80d936af6e
commit 5c784f491d
7 changed files with 88 additions and 193 deletions

7
cmd/web/handlers.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "net/http"
func (app *application) createElection(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("TODO"))
}