From ce08ec62dbe59e439ea41974a4a9595327d71663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 25 Jan 2022 01:20:26 +0100 Subject: const block --- template.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/template.go b/template.go index 3ec1c14..f31c845 100644 --- a/template.go +++ b/template.go @@ -11,9 +11,11 @@ import ( "text/template" ) -const templatePath = "templates/" -const verbatimPath = templatePath + "verbatim" -const templateGlob = templatePath + "*.tpl" +const ( + templatePath = "templates/" + verbatimPath = templatePath + "verbatim" + templateGlob = templatePath + "*.tpl" +) //go:embed templates var templates embed.FS -- cgit v1.2.3