From ef7b3ae6c2d7514e62c8d0bab9f3781f3129cf25 Mon Sep 17 00:00:00 2001 From: Haruyzal Date: Tue, 9 Jul 2024 23:12:05 +0200 Subject: [PATCH] refactor: Rename func to be concise. --- src/html/html_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/html_template.go b/src/html/html_template.go index a44a76e..e5a6329 100644 --- a/src/html/html_template.go +++ b/src/html/html_template.go @@ -7,7 +7,7 @@ import ( ) // HTML template code inspired by https://gowebexamples.com/templates/ -func CreateHTMLTemplate() { +func GenerateHTML() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { const templ = `