refactor: replace interface with any

This commit is contained in:
Patryk Hegenberg 2025-06-20 13:21:08 +02:00
parent 445455f341
commit e67cc692ba
5 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ func AboutHandler(content embed.FS) http.HandlerFunc {
}
// Execute the template with the provided data
data := map[string]interface{}{
data := map[string]any{
"Title": "Dungeons & Dragons Monster Generator",
}
err = tmpl.ExecuteTemplate(w, "about", data)