Initial commit of admin panel.

This commit is contained in:
mikestefanello 2025-03-30 14:46:46 -04:00
parent c8db468292
commit 33e98f9a9e
8 changed files with 466 additions and 7 deletions

View file

@ -41,7 +41,7 @@ func (r *Redirect) Params(params ...any) *Redirect {
return r
}
// StatusCode sets the HTTP status code which defaults to http.StatusFound.
// StatusCode sets the HTTP status code which defaults to http.StatusTemporaryRedirect.
// Does not apply to HTMX redirects.
func (r *Redirect) StatusCode(code int) *Redirect {
r.status = code