Remove unused struct
All checks were successful
Build / build (push) Successful in 1m9s
Lint / lint (push) Successful in 2m7s

This commit is contained in:
Valentin Brandl 2025-04-20 00:30:24 +02:00
parent 7d18008d80
commit 45081145c5
Signed by: vbrandl
GPG Key ID: 7FB009175885FC76

View File

@ -11,10 +11,6 @@ import (
var indexTemplate *template.Template var indexTemplate *template.Template
var notFoundTemplate *template.Template var notFoundTemplate *template.Template
type templateData struct {
RequestID string
}
func (app *Application) ParseTemplates() error { func (app *Application) ParseTemplates() error {
t, err := template.ParseFS(assets.Templates, "public/html/index.html", "public/html/navbar.tmpl", "public/html/footer.tmpl") t, err := template.ParseFS(assets.Templates, "public/html/index.html", "public/html/navbar.tmpl", "public/html/footer.tmpl")
if err != nil { if err != nil {