Read HTML from a file instead of .tmpl

This commit is contained in:
Joakim Hellsén 2024-02-05 02:35:46 +01:00
commit c185d463e6
18 changed files with 369 additions and 591 deletions

2
go.mod
View file

@ -5,6 +5,7 @@ go 1.21.6
require (
github.com/go-chi/chi/v5 v5.0.11
github.com/stretchr/testify v1.8.1
github.com/tdewolff/minify/v2 v2.20.16
gorm.io/driver/sqlite v1.5.4
gorm.io/gorm v1.25.6
)
@ -15,5 +16,6 @@ require (
github.com/jinzhu/now v1.1.5 // indirect
github.com/mattn/go-sqlite3 v1.14.22 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/tdewolff/parse/v2 v2.7.11 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)