From 256a21a4faf9b65a574c8635ad73b4175e3bb50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20C=2E=20For=C3=A9s?= Date: Sun, 17 Nov 2024 14:12:21 +0100 Subject: [PATCH] fix(problems): removed embed lines --- problem.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/problem.go b/problem.go index f12bf0d..b7461e3 100644 --- a/problem.go +++ b/problem.go @@ -4,7 +4,6 @@ import ( _ "embed" "encoding/json" "fmt" - "html/template" "maps" "net/http" @@ -37,11 +36,6 @@ type ProblemControls struct { // problem controls are stored in the request. type ProblemsKey struct{} -//go:embed problem.html -var ProblemTemplateHTML string - -var ProblemTemplate = template.Must(template.New("problem.html").Parse(ProblemTemplateHTML)) - func defaultedProblemControls(controls ProblemControls) ProblemControls { if controls.Lowercase == nil {