added database connection and ability to retrieve "Anonymous Honyak" user

This commit is contained in:
2025-09-20 15:57:29 -06:00
parent 0e65eaeef6
commit a794c5919b
8 changed files with 119 additions and 0 deletions
+4
View File
@@ -46,6 +46,10 @@ type AmConfig struct {
Site struct {
Title string `yaml:"title"`
} `yaml:"site"`
Database struct {
Driver string `yaml:"driver"`
Dsn string `yaml:"dsn"`
} `yaml:"database"`
Rendering struct {
TemplateDir string `yaml:"templatedir"`
CookieKey string `yaml:"cookiekey"`