chore: 并入 iotlcm-worker-svr 历史到 worker-svr/(原提交 96f0f4e)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
|
||||
_ "github.com/gogf/gf/contrib/drivers/sqlite/v2"
|
||||
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gctx"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/cmd"
|
||||
_ "git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/packed"
|
||||
)
|
||||
|
||||
var (
|
||||
BuildVersion = "0.0"
|
||||
BuildTime = ""
|
||||
CommitID = ""
|
||||
)
|
||||
|
||||
func main() {
|
||||
ctx := gctx.GetInitCtx()
|
||||
g.Log().Noticef(
|
||||
ctx,
|
||||
"iotlcm-worker-svr starting, version:%s, buildTime:%s, commitID:%s",
|
||||
BuildVersion,
|
||||
BuildTime,
|
||||
CommitID,
|
||||
)
|
||||
cmd.Main.Run(ctx)
|
||||
}
|
||||
Reference in New Issue
Block a user