Remove unused struct
This commit is contained in:
parent
7d18008d80
commit
45081145c5
@ -11,10 +11,6 @@ import (
|
||||
var indexTemplate *template.Template
|
||||
var notFoundTemplate *template.Template
|
||||
|
||||
type templateData struct {
|
||||
RequestID string
|
||||
}
|
||||
|
||||
func (app *Application) ParseTemplates() error {
|
||||
t, err := template.ParseFS(assets.Templates, "public/html/index.html", "public/html/navbar.tmpl", "public/html/footer.tmpl")
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user