diff options
Diffstat (limited to 'svc/init.go')
-rw-r--r-- | svc/init.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svc/init.go b/svc/init.go index 7db5303..b688e5d 100644 --- a/svc/init.go +++ b/svc/init.go @@ -1,7 +1,6 @@ package svc // import "github.com/getwtxt/getwtxt/svc" import ( - "html/template" "log" "os" "os/signal" @@ -32,7 +31,7 @@ var closeLog = make(chan bool, 1) // initialization var dbChan = make(chan dbase, 1) -var tmpls *template.Template +var tmpls = initTemplates() var twtxtCache = registry.NewIndex() @@ -60,7 +59,6 @@ func initSvc() { titleScreen() initConfig() initLogging() - tmpls = initTemplates() initDatabase() go cacheAndPush() watchForInterrupt() |