mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-25 10:59:13 +08:00
*
This commit is contained in:
12
routers/router.go
Normal file
12
routers/router.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user