package routers
import (
"test_go/controllers"
beego "github.com/beego/beego/v2/server/web"
)
func init() {
beego.Router("/", &controllers.MainController{})
beego.Router("/insert/?:passwd/?:name", &controllers.UserController{}, "get:Insert")
beego.Router("/user/index", &controllers.UserController{}, "get:Index")
beego.Router("/user/del/?:id", &controllers.UserController{}, "get:Del")
}