feat: refactor go.mod.

This commit is contained in:
tx7do
2024-11-14 14:56:51 +08:00
parent 9a4861eff2
commit a28f55cb99
3 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ replace (
github.com/imdario/mergo => dario.cat/mergo v0.3.16
github.com/tx7do/kratos-bootstrap/api => ../api
github.com/tx7do/kratos-bootstrap/utils => ../utils
)
require (
@@ -19,7 +20,8 @@ require (
github.com/go-kratos/kratos/contrib/log/zap/v2 v2.0.0-20241105072421-f8b97f675b32
github.com/go-kratos/kratos/v2 v2.8.2
github.com/sirupsen/logrus v1.9.3
github.com/tx7do/kratos-bootstrap/api v0.0.5
github.com/tx7do/kratos-bootstrap/api v0.0.7
github.com/tx7do/kratos-bootstrap/utils v0.1.0
go.uber.org/zap v1.27.0
gopkg.in/natefinch/lumberjack.v2 v2.2.1
)

View File

@@ -12,6 +12,7 @@ import (
"github.com/tx7do/kratos-bootstrap/logger/zap"
conf "github.com/tx7do/kratos-bootstrap/api/gen/go/conf/v1"
"github.com/tx7do/kratos-bootstrap/utils"
)
// NewLogger 创建一个新的日志记录器

View File

@@ -6,7 +6,7 @@ git tag cache/redis/v0.0.5 --force
git tag oss/minio/v0.0.5 --force
git tag registry/v0.0.5 --force
git tag config/v0.0.5 --force
git tag logger/v0.0.5 --force
git tag logger/v0.0.6 --force
git tag rpc/v0.0.5 --force
git tag tracer/v0.0.5 --force