Rename html to gohtml

This commit is contained in:
Pablu23
2024-02-21 13:11:12 +01:00
parent 7187aaa653
commit c184839436
2 changed files with 1 additions and 1 deletions

View File

@@ -317,7 +317,7 @@ func (s *Server) handlePrev(w http.ResponseWriter, r *http.Request) {
}
func (s *Server) HandleCurrent(w http.ResponseWriter, _ *http.Request) {
tmpl := template.Must(template.ParseFiles("test.html"))
tmpl := template.Must(template.ParseFiles("test.gohtml"))
err := tmpl.Execute(w, s.CurrViewModel)
if err != nil {
fmt.Println(err)