Add TODO tags for handlers that have no implementation

This commit is contained in:
Jan Dittberner 2022-05-29 15:46:26 +02:00
parent 7f0b52c5b5
commit c625b6dc9e

View file

@ -612,33 +612,42 @@ func (app *application) proxyVoteSubmit(w http.ResponseWriter, r *http.Request)
func (app *application) userList(w http.ResponseWriter, r *http.Request) {
data := app.newTemplateData(r, topLevelNavUsers, subLevelNavUsers)
// TODO: implement user listing
app.render(w, http.StatusOK, "users.html", data)
}
func (app *application) submitUserRoles(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement submitUserRoles
panic("not implemented")
}
func (app *application) editUserForm(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement editUserForm
panic("not implemented")
}
func (app *application) editUserSubmit(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement editUserSubmit
panic("not implemented")
}
func (app *application) userAddEmailForm(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement userAddEmailForm
panic("not implemented")
}
func (app *application) userAddEmailSubmit(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement userAddEmailSubmit
panic("not implemented")
}
func (app *application) deleteUserForm(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement deleteUserForm
panic("not implemented")
}
func (app *application) deleteUserSubmit(_ http.ResponseWriter, _ *http.Request) {
// TODO: implement deleteUserSubmit
panic("not implemented")
}