From cd8e4c0ceb9bcd2cc688a535616668cbc83ea9da Mon Sep 17 00:00:00 2001 From: Antoine Hedgecock Date: Fri, 2 Mar 2018 11:54:39 -0800 Subject: [PATCH] Added a missing json tag --- template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.go b/template.go index 9947aa6..6721726 100644 --- a/template.go +++ b/template.go @@ -6,7 +6,7 @@ type Template struct { TemplateId string `sql:",pk" json:"id"` Locale string `sql:",pk" json:"locale"` - Enabled bool `sql:",notnull"` + Enabled bool `sql:",notnull" json:"enabled"` Description string `sql:",notnull" json:"description"` Parameters map[string]interface{} `json:"parameters"`