diff options
Diffstat (limited to 'crtsh-pem2html.go')
-rw-r--r-- | crtsh-pem2html.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crtsh-pem2html.go b/crtsh-pem2html.go index 66961b1..0bad106 100644 --- a/crtsh-pem2html.go +++ b/crtsh-pem2html.go @@ -28,10 +28,10 @@ func handleBool(ok bool, str string, a ...interface{}) { var tmpl = template.Must(template.New("pem2html"). Funcs(template.FuncMap{ - "red": red, - "green": green, - "date": fDate, - "datetime": fDateTime, + "red": red, + "green": green, + "date": fDate, + "datetime": fDateTime, "colorDatetime": cDateTime, }).Parse(`<table class=sortable> <caption> @@ -180,5 +180,5 @@ func main() { } sort.Sort(certs) - handleErr(tmpl.Execute(os.Stdout, map[string]interface{}{"certs":certs, "now": now}), "Could not execute template: %v\n") + handleErr(tmpl.Execute(os.Stdout, map[string]interface{}{"certs": certs, "now": now}), "Could not execute template: %v\n") } |