Add TODO tags for handlers that have no implementation
This commit is contained in:
parent
7f0b52c5b5
commit
c625b6dc9e
1 changed files with 9 additions and 0 deletions
|
@ -612,33 +612,42 @@ func (app *application) proxyVoteSubmit(w http.ResponseWriter, r *http.Request)
|
||||||
func (app *application) userList(w http.ResponseWriter, r *http.Request) {
|
func (app *application) userList(w http.ResponseWriter, r *http.Request) {
|
||||||
data := app.newTemplateData(r, topLevelNavUsers, subLevelNavUsers)
|
data := app.newTemplateData(r, topLevelNavUsers, subLevelNavUsers)
|
||||||
|
|
||||||
|
// TODO: implement user listing
|
||||||
|
|
||||||
app.render(w, http.StatusOK, "users.html", data)
|
app.render(w, http.StatusOK, "users.html", data)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) submitUserRoles(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) submitUserRoles(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement submitUserRoles
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) editUserForm(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) editUserForm(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement editUserForm
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
func (app *application) editUserSubmit(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) editUserSubmit(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement editUserSubmit
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) userAddEmailForm(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) userAddEmailForm(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement userAddEmailForm
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) userAddEmailSubmit(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) userAddEmailSubmit(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement userAddEmailSubmit
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) deleteUserForm(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) deleteUserForm(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement deleteUserForm
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *application) deleteUserSubmit(_ http.ResponseWriter, _ *http.Request) {
|
func (app *application) deleteUserSubmit(_ http.ResponseWriter, _ *http.Request) {
|
||||||
|
// TODO: implement deleteUserSubmit
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue