From 2eaa9f82c2387756fe2d3114306335aa628eb4e2 Mon Sep 17 00:00:00 2001 From: crapStone Date: Thu, 16 Nov 2023 00:28:26 +0100 Subject: [PATCH] fmt --- html/html.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/html.go b/html/html.go index a802aee..4470411 100644 --- a/html/html.go +++ b/html/html.go @@ -13,8 +13,10 @@ import ( //go:embed templates/error.html var errorPage string -var errorTemplate = template.Must(template.New("error").Parse(errorPage)) -var sanitizer = createBlueMondayPolicy() +var ( + errorTemplate = template.Must(template.New("error").Parse(errorPage)) + sanitizer = createBlueMondayPolicy() +) type TemplateContext struct { StatusCode int