package main import ( _ "wsc-go/routers" "wsc-go/service" "github.com/astaxie/beego" ) func init() { service.ConnectDB() } func main() { beego.Run() }