feat: refactor go.mod.

This commit is contained in:
tx7do
2024-11-14 09:03:48 +08:00
parent 883b23dbbb
commit da4a21ce62
16 changed files with 2807 additions and 1701 deletions

View File

@@ -11,8 +11,6 @@ import (
"github.com/tx7do/kratos-bootstrap/logger/tencent"
"github.com/tx7do/kratos-bootstrap/logger/zap"
"github.com/tx7do/kratos-bootstrap/config"
conf "github.com/tx7do/kratos-bootstrap/api/gen/go/conf/v1"
)
@@ -41,7 +39,7 @@ func NewLogger(cfg *conf.Logger) log.Logger {
}
// NewLoggerProvider 创建一个新的日志记录器提供者
func NewLoggerProvider(cfg *conf.Logger, serviceInfo *config.ServiceInfo) log.Logger {
func NewLoggerProvider(cfg *conf.Logger, serviceInfo *utils.ServiceInfo) log.Logger {
l := NewLogger(cfg)
return log.With(