refactor: replace interface with any
This commit is contained in:
parent
445455f341
commit
e67cc692ba
5 changed files with 5 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ func ContactHandler(content embed.FS) http.HandlerFunc {
|
|||
}
|
||||
|
||||
// Execute the contact template
|
||||
err = tmpl.ExecuteTemplate(w, "contact", map[string]interface{}{
|
||||
err = tmpl.ExecuteTemplate(w, "contact", map[string]any{
|
||||
"Title": "Dungeons & Dragons Monster Generator",
|
||||
})
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue