refactor: replace interface with any
This commit is contained in:
parent
445455f341
commit
e67cc692ba
5 changed files with 5 additions and 5 deletions
|
|
@ -42,7 +42,7 @@ func FormHandler(content embed.FS, monsters *[]model.Monster) http.HandlerFunc {
|
|||
}
|
||||
|
||||
// Execute the template and render the response.
|
||||
data := map[string]interface{}{
|
||||
data := map[string]any{
|
||||
"Title": "Dungeons & Dragons Monster Generator",
|
||||
"Monsters": *monsters,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue