diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:23:40 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:23:40 +0200 |
commit | a89a4ddcd930ba18fe923bdb4ebf40772a1cbb80 (patch) | |
tree | 84253c4db64c741a8f26e46ef3ce7be63fb9641b /src | |
parent | 4962f21fbba949ae11638af5fd7292fe07ef94f1 (diff) |
Format code
Diffstat (limited to 'src')
-rw-r--r-- | src/templates.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/templates.go b/src/templates.go index f0558f3..712e7ec 100644 --- a/src/templates.go +++ b/src/templates.go @@ -21,20 +21,20 @@ var ( notFoundTmpl = buildTemplate("404") errorTmpl = buildTemplate("error") templates = map[string]*template.Template{ - "/": buildTemplate("index"), - "/about": buildTemplate("about"), - "/coins": buildTemplate("coins"), + "/": buildTemplate("index"), + "/about": buildTemplate("about"), + "/coins": buildTemplate("coins"), "/coins/mintages": buildTemplate("coins-mintages"), - "/jargon": buildTemplate("jargon"), - "/language": buildTemplate("language"), + "/jargon": buildTemplate("jargon"), + "/language": buildTemplate("language"), } funcmap = map[string]any{ - "denoms": denoms, - "locales": locales, - "safe": asHTML, + "denoms": denoms, + "locales": locales, + "safe": asHTML, "strToCtype": strToCtype, - "toUpper": strings.ToUpper, - "tuple": templateMakeTuple, + "toUpper": strings.ToUpper, + "tuple": templateMakeTuple, } ) |