diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2022-01-25 01:20:26 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2022-01-25 01:20:26 +0100 |
commit | ce08ec62dbe59e439ea41974a4a9595327d71663 (patch) | |
tree | 5de6fcfa2cb6b228a5d256e64bf8665774f41f19 | |
parent | 349b66cb520a032fbacb9577ef85dd7e792cceb5 (diff) | |
download | engarde-importer-ce08ec62dbe59e439ea41974a4a9595327d71663.tar.gz engarde-importer-ce08ec62dbe59e439ea41974a4a9595327d71663.tar.bz2 engarde-importer-ce08ec62dbe59e439ea41974a4a9595327d71663.zip |
const block
-rw-r--r-- | template.go | 8 |
1 files 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 |