Skip to content

Commit

Permalink
fix(problems): removed embed lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs committed Nov 17, 2024
1 parent 9339a1c commit 256a21a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions problem.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
_ "embed"
"encoding/json"
"fmt"
"html/template"
"maps"
"net/http"

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 256a21a

Please sign in to comment.