adding error handling and other things

This commit is contained in:
2018-11-07 16:27:39 +01:00
parent 1c16b54802
commit 549d91fbb4
7 changed files with 70 additions and 34 deletions

View File

@@ -46,5 +46,7 @@ func init() {
),
),
)
beego.Router("/", &controllers.IndexController{})
beego.ErrorController(&controllers.ErrorController{})
beego.AddNamespace(ns)
}