guestbook/cmd/web/handlers.go

31 lines
640 B
Go
Raw Normal View History

2024-10-16 04:34:57 +00:00
package main
import (
"net/http"
)
func (app *application) home(w http.ResponseWriter, r *http.Request) {
app.render(w, r, http.StatusOK, "home.tmpl.html", templateData{})
}
func getUserRegister(w http.ResponseWriter, r *http.Request) {
}
func postUserRegister(w http.ResponseWriter, r *http.Request) {
}
func getUsersList(w http.ResponseWriter, r *http.Request) {
}
func getUser(w http.ResponseWriter, r *http.Request) {
}
func postGuestbooksCreate(w http.ResponseWriter, r* http.Request) {
}
func getGuestbooksList(w http.ResponseWriter, r *http.Request) {
}
func getGuestbook(w http.ResponseWriter, r *http.Request) {
}