func main() { util.Init() util.ChDirToExe() util.LogStart([]util.LogClient{srv.NewLogClient()}) log.Println("Game Server started.") defer util.TimeStart("Game Server finished.")() run() }
func main() { util.Init() util.ChDirToExe() util.LogStart([]util.LogClient{srv.NewLogClient()}) log.Println("Admin Server started.") defer util.TimeStart("Admin Server finished.")() srv.ServiceMain(start, run, stop) }