diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-06 18:11:03 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-06 18:11:03 -0500 |
commit | baf468faa6cea9de82b057433746bfc3ca6aa24a (patch) | |
tree | 622d3347ae8f2c54e6971de9546944839607dd68 /crtsh-pem2html.go | |
parent | 92818dff6962495949da5c518732097d5e52a721 (diff) |
gofmt
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") } |