From 5b9f00b427f74d447a3a685a8b7779c86b5a1b9d Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 17 Dec 2016 07:06:20 -0800 Subject: rebuild w/ pointer --- addons/reference/reference.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons') diff --git a/addons/reference/reference.go b/addons/reference/reference.go index f9f0274..b6cede8 100644 --- a/addons/reference/reference.go +++ b/addons/reference/reference.go @@ -21,7 +21,7 @@ type Referenceable interface { // IMPORTANT: // The `fieldName` argument will cause a panic if it is not exactly the string // form of the struct field that this editor input is representing -func Select(fieldName string, p interface{}, attrs map[string]string, contentType string, tmpl template.Template) []byte { +func Select(fieldName string, p interface{}, attrs map[string]string, contentType string, tmpl *template.Template) []byte { // decode all content type from db into options map // map["?type=&id="]t.String() options := make(map[string]string) -- cgit v1.2.3