func main() { beego.RESTRouter("/object", &controllers.ObjectController{}) beego.Run() }
func main() { beego.Router("/", &controllers.MainController{}) beego.Router("/ws", &controllers.WSController{}) beego.Run() }