diff options
author | Julien Dessaux | 2024-05-01 16:23:08 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-05-01 16:23:08 +0200 |
commit | 8b9195e3e3506d576b39a23ca646c260dfacc808 (patch) | |
tree | 1cdbdd2fb368654ef8eab702258eb5d6a90e1447 /pkg/templates.go | |
parent | chore(gonf): fix go vet and staticcheck errors (diff) | |
download | gonf-8b9195e3e3506d576b39a23ca646c260dfacc808.tar.gz gonf-8b9195e3e3506d576b39a23ca646c260dfacc808.tar.bz2 gonf-8b9195e3e3506d576b39a23ca646c260dfacc808.zip |
chore(gonf): fix errcheck and shadow errors
Diffstat (limited to '')
-rw-r--r-- | pkg/templates.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/templates.go b/pkg/templates.go index 736bbe0..1339306 100644 --- a/pkg/templates.go +++ b/pkg/templates.go @@ -7,17 +7,14 @@ import ( "text/template" ) -// ----- Globals --------------------------------------------------------------- var templates *template.Template -// ----- Init ------------------------------------------------------------------ func init() { templates = template.New("") templates.Option("missingkey=error") templates.Funcs(builtinTemplateFunctions) } -// ----- Public ---------------------------------------------------------------- type TemplateValue struct { contents []byte data string |