This commit is contained in:
Minho
2017-04-19 18:19:27 +08:00
parent fedf66bc0e
commit 4ebc28a431
308 changed files with 168450 additions and 0 deletions

12
routers/router.go Normal file
View File

@@ -0,0 +1,12 @@
package routers
import (
"github.com/astaxie/beego"
"github.com/lifei6671/godoc/controllers"
)
func init() {
beego.Router("/",&controllers.HomeController{},"*:Index")
beego.Router("/manager", &controllers.ManagerController{},"*:Index")
}