示例#1
0
func main() {
	slimgo.SlimApp.Handerlers.Register(&controller.IndexController{}, &controller.TestController{})
	slimgo.SlimApp.Handerlers.Register(&Admin.CommonController{})
	slimgo.Run(":9022")
}
示例#2
0
func main() {
	slimgo.SlimApp.Handerlers.Register(&controller.IndexController{})
	slimgo.Run(":9022")
}