Fix: go version

This commit is contained in:
Grail Finder
2025-05-01 18:22:14 +03:00
parent 7ebd0db05a
commit 67b77091ed
2 changed files with 6 additions and 10 deletions

6
go.mod
View File

@ -1,7 +1,3 @@
module golias module golias
go 1.21 go 1.24
require (
github.com/go-chi/chi/v5 v5.0.12
)

View File

@ -18,6 +18,6 @@ func HandlePing(w http.ResponseWriter, r *http.Request) {
} }
func HandleHome(w http.ResponseWriter, r *http.Request) { func HandleHome(w http.ResponseWriter, r *http.Request) {
tmpl := template.Must(template.ParseFiles("../components/index.html")) tmpl := template.Must(template.ParseFiles("components/index.html"))
tmpl.Execute(w, roundWords) tmpl.Execute(w, roundWords)
} }