1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-14 07:10:56 +00:00
Beego/example/chat/main.go

13 lines
236 B
Go
Raw Normal View History

2013-09-10 10:38:40 +00:00
package main
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/example/chat/controllers"
)
func main() {
beego.Router("/", &controllers.MainController{})
beego.Router("/ws", &controllers.WSController{})
beego.Run()
}