cake-order-tracker/internal/auth/get.go
2025-03-31 01:22:14 +02:00

17 lines
249 B
Go

package auth
import (
"fmt"
"net/http"
_ "embed"
)
//go:embed templates/login.html
var loginHTML string
func getLogin(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("content-type", "text/html")
fmt.Fprint(w, loginHTML)
return
}