From c184839436a58e806172336bb77b2a4cbd6069e2 Mon Sep 17 00:00:00 2001 From: Pablu23 Date: Wed, 21 Feb 2024 13:11:12 +0100 Subject: [PATCH] Rename html to gohtml --- main.go | 2 +- test.html => test.gohtml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test.html => test.gohtml (100%) diff --git a/main.go b/main.go index 0afb0dc..0f1b37f 100644 --- a/main.go +++ b/main.go @@ -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) diff --git a/test.html b/test.gohtml similarity index 100% rename from test.html rename to test.gohtml