15 lines
236 B
Go
15 lines
236 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
"projectreshoot/view/page"
|
|
)
|
|
|
|
func HandleProfilePage() http.Handler {
|
|
return http.HandlerFunc(
|
|
func(w http.ResponseWriter, r *http.Request) {
|
|
page.Profile().Render(r.Context(), w)
|
|
},
|
|
)
|
|
}
|