moved to gorm

This commit is contained in:
Bronku 2025-07-07 11:30:28 +02:00
parent 66884c64bb
commit a074f264df
30 changed files with 247 additions and 1040 deletions

View file

@ -10,6 +10,7 @@ import (
//go:embed templates/login.html
var loginHTML string
// returns a simple login page
func getLogin(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("content-type", "text/html")
fmt.Fprint(w, loginHTML)