4 Star 6 Fork 5

Humpback/humpback-center

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 515 Bytes
一键复制 编辑 原始数据 按行查看 历史
package main
import "github.com/humpback/gounits/system"
import "gitee.com/humpbacks/humpback-center/server"
import (
"log"
"os"
)
func main() {
service, err := server.NewCenterService()
if err != nil {
log.Printf("service error:%s\n", err.Error())
os.Exit(system.ErrorExitCode(err))
}
defer func() {
service.Stop()
os.Exit(0)
}()
if err := service.Startup(); err != nil {
log.Printf("service start error:%s\n", err.Error())
os.Exit(system.ErrorExitCode(err))
}
system.InitSignal(nil)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/humpbacks/humpback-center.git
[email protected]:humpbacks/humpback-center.git
humpbacks
humpback-center
humpback-center
master

搜索帮助