This repository has been archived on 2025-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
web-app-template/service/auth.go
Tim 111cd2daab
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s
#73 copy sign in form from other branch and some renaming
2024-08-25 22:25:32 +02:00

19 lines
364 B
Go

package service
import (
"net/http"
"me-fit/template"
"me-fit/template/auth"
)
func SignInPage(w http.ResponseWriter, r *http.Request) {
signIn := auth.SignIn()
template.Layout(signIn).Render(r.Context(), w)
}
// func SignUpPage(w http.ResponseWriter, r *http.Request) {
// signIn := auth.SignUp()
// template.Layout(signIn).Render(r.Context(), w)
// }