From f07ab5263246d940fbc1d646bcdb5663398378d0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 11 Dec 2019 15:24:39 +0100 Subject: Add docs --- template.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'template.go') diff --git a/template.go b/template.go index 3bdcc9d..cdcbf66 100644 --- a/template.go +++ b/template.go @@ -21,6 +21,7 @@ type GlobalRenderData struct { Username string // TODO: list of mailboxes + // Additional plugin-specific data Extra map[string]interface{} } @@ -28,7 +29,8 @@ type GlobalRenderData struct { // template-specific fields. type RenderData struct { Global GlobalRenderData - Extra map[string]interface{} + // Additional plugin-specific data + Extra map[string]interface{} } func NewRenderData(ctx *Context) *RenderData { -- cgit v1.2.3-59-g8ed1b