mirror of
https://github.com/astaxie/beego.git
synced 2024-11-05 14:00:54 +00:00
13 lines
236 B
Go
13 lines
236 B
Go
|
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()
|
||
|
}
|