chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
// package main
// @Link https://github.com/xiujiecn/xiu-admin
// @Copyright Copyright (c) 2025 LiXiujie
// @Author Lxj <xxx@example.com>
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
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"
_ "git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/packed"
_ "git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/logic"
"github.com/gogf/gf/v2/os/gctx"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/cmd"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/utility/version"
)
var (
BuildVersion = "0.0"
BuildTime = ""
CommitID = ""
)
func main() {
version.ShowLogo(BuildVersion, BuildTime, CommitID)
ctx := gctx.GetInitCtx()
cmd.SystemInit(ctx)
err := cmd.InitSystemDeferFunc(ctx)
if err != nil {
panic(err)
}
cmd.Main.Run(ctx)
}