package proxy import ( "html/template" log "github.com/sirupsen/logrus" ) func getTemplates() *template.Template { t, err := template.New("foo").Parse(`{{define "error.html"}}
{{.Message}}
Powered by authentik
{{end}}`) if err != nil { log.Fatalf("failed parsing template %s", err) } return t }