package main import ( "enterprise/common/config" "enterprise/common/global" "enterprise/server" "enterprise/worker" ) func main() { config.LoadServerConfig() config.LoadAliPay() global.InitGlobal() if err := worker.Init(); err != nil { panic(err) } if err := server.Start(); err != nil { panic(err) } }