Compare commits

...

3 Commits

Author SHA1 Message Date
tx7do
62ee65a36b feat: refactor go.mod. 2024-11-14 15:00:57 +08:00
tx7do
a28f55cb99 feat: refactor go.mod. 2024-11-14 14:56:51 +08:00
tx7do
9a4861eff2 feat: refactor go.mod. 2024-11-14 14:11:32 +08:00
6 changed files with 12 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ import (
)
var (
Service = config.NewServiceInfo(
Service = utils.NewServiceInfo(
"",
"1.0.0",
"",

View File

@@ -22,9 +22,9 @@ require (
github.com/google/subcommands v1.2.0
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.8.1
github.com/tx7do/kratos-bootstrap/api v0.0.5
github.com/tx7do/kratos-bootstrap/api v0.0.7
github.com/tx7do/kratos-bootstrap/config v0.0.5
github.com/tx7do/kratos-bootstrap/logger v0.0.5
github.com/tx7do/kratos-bootstrap/logger v0.0.6
github.com/tx7do/kratos-bootstrap/registry v0.0.5
github.com/tx7do/kratos-bootstrap/tracer v0.0.5
github.com/tx7do/kratos-bootstrap/utils v0.1.0
@@ -173,6 +173,6 @@ require (
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078 // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.3 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

View File

@@ -1059,7 +1059,7 @@ rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 h1:MdmvkGuXi/8io6ixD5wud3vOLwc1rj0aNqRlpuvjmwA=
sigs.k8s.io/structured-merge-diff/v4 v4.4.2/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4=
sigs.k8s.io/structured-merge-diff/v4 v4.4.3 h1:sCP7Vv3xx/CWIuTPVN38lUPx0uw0lcLfzaiDa8Ja01A=
sigs.k8s.io/structured-merge-diff/v4 v4.4.3/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4=
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=

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
@@ -17,7 +17,7 @@ git tag database/influxdb/v0.0.1 --force
git tag database/cassandra/v0.0.1 --force
git tag database/clickhouse/v0.0.2 --force
git tag bootstrap/v0.0.5 --force
git tag bootstrap/v0.0.7 --force
git tag v0.5.0