Files
projectreshoot/handlers/profile.go

15 lines
232 B
Go

package handlers
import (
"net/http"
"projectreshoot/view/page"
)
func HandleProfile() http.Handler {
return http.HandlerFunc(
func(w http.ResponseWriter, r *http.Request) {
page.Profile().Render(r.Context(), w)
},
)
}