From 835e9e503345046d12a2fc394ce0f2317753ea84 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 10 Dec 2019 17:39:42 +0100 Subject: go fmt --- template.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'template.go') diff --git a/template.go b/template.go index 2ebcbc0..7539459 100644 --- a/template.go +++ b/template.go @@ -28,7 +28,7 @@ type GlobalRenderData struct { // template-specific fields. type RenderData struct { Global GlobalRenderData - Extra map[string]interface{} + Extra map[string]interface{} } func NewRenderData(ctx *context) *RenderData { @@ -41,13 +41,13 @@ func NewRenderData(ctx *context) *RenderData { return &RenderData{ Global: global, - Extra: make(map[string]interface{}), + Extra: make(map[string]interface{}), } } type renderer struct { - base *template.Template - themes map[string]*template.Template + base *template.Template + themes map[string]*template.Template defaultTheme string } @@ -127,8 +127,8 @@ func loadTemplates(logger echo.Logger, defaultTheme string, plugins []Plugin) (* } return &renderer{ - base: base, - themes: themes, + base: base, + themes: themes, defaultTheme: defaultTheme, }, nil } -- cgit v1.2.3-59-g8ed1b