summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-17 07:06:20 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-17 07:06:20 -0800
commit5b9f00b427f74d447a3a685a8b7779c86b5a1b9d (patch)
treea4ce5ad9164f56248adb1888be3f12cf92d5134c /addons
parent39350fe3a5537bb2f1141bc66ed5c01e112724b2 (diff)
rebuild w/ pointer
Diffstat (limited to 'addons')
-rw-r--r--addons/reference/reference.go2
1 files changed, 1 insertions, 1 deletions
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=<contentType>&id=<id>"]t.String()
options := make(map[string]string)