moved to gorm
This commit is contained in:
parent
66884c64bb
commit
a074f264df
30 changed files with 247 additions and 1040 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue