This commit is contained in:
oneao committed 2025-08-15 22:26:59 +08:00
1 parent 11bf4e1e76
commit 2d036f4d95
7 files changed
+98 -13

No files matched your search

@@ -4,7 +4,7 @@ import (
"base-framework/internal/app"
"base-framework/pkg/config"
"base-framework/pkg/logx"
"base-framework/pkg/utils/snowflake"
"base-framework/pkg/utils/uid"
"log"
"net/http"
"strconv"
@@ -23,7 +23,7 @@ func main() {
}
// 初始化日志
logx.InitLogger()
logx.Logger.Info("项目启动成功...", logx.Uint64("id", snowflake.NextID()))
logx.Logger.Info("项目启动成功...", logx.Uint64("id", uid.NextID()))
logx.Logger.Info("项目启动成功2...")
logx.Logger.Error("测试错误")