From 83ca135be2f4ab307d0e666b88596e252aba0a29 Mon Sep 17 00:00:00 2001 From: f0x Date: Thu, 8 Jul 2021 15:38:39 +0200 Subject: [PATCH] go fmt --- internal/router/router.go | 2 +- internal/router/template.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/router/router.go b/internal/router/router.go index 6b8bafb75..0c27886d8 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -128,7 +128,7 @@ func New(cfg *config.Config, db db.DB, logger *logrus.Logger) (Router, error) { } // set template functions - loadTemplateFunctions(engine); + loadTemplateFunctions(engine) // load templates onto the engine if err := loadTemplates(cfg, engine); err != nil { diff --git a/internal/router/template.go b/internal/router/template.go index 8f3e76573..3b81773ec 100644 --- a/internal/router/template.go +++ b/internal/router/template.go @@ -30,4 +30,4 @@ func loadTemplateFunctions(engine *gin.Engine) { return r.engine.SetFuncMap(template.FuncMap{ "noescape": noescape, }) -} \ No newline at end of file +}