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