summaryrefslogtreecommitdiffstats
path: root/modules/base/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/base.go')
-rw-r--r--modules/base/base.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/base/base.go b/modules/base/base.go
index 5536685a4f..145fae6f13 100644
--- a/modules/base/base.go
+++ b/modules/base/base.go
@@ -7,6 +7,11 @@ package base
type (
// Type TmplData represents data in the templates.
TmplData map[string]interface{}
+
+ ApiJsonErr struct {
+ Message string `json:"message"`
+ DocUrl string `json:"documentation_url"`
+ }
)
var GoGetMetas = make(map[string]bool)