mirror of https://github.com/mindoc-org/mindoc.git
13 lines
246 B
Go
13 lines
246 B
Go
|
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")
|
||
|
}
|