Replace template dir file path hack with embed directive.
This commit is contained in:
parent
0879aaf21d
commit
3df20c01a7
7 changed files with 21 additions and 33 deletions
|
|
@ -9,9 +9,6 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
// TemplateDir stores the name of the directory that contains templates
|
||||
TemplateDir = "../templates"
|
||||
|
||||
// TemplateExt stores the extension used for the template files
|
||||
TemplateExt = ".gohtml"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue