feat: refactor go.mod.

This commit is contained in:
tx7do
2024-11-14 10:32:27 +08:00
parent 8b79665a27
commit bef6bbc269
14 changed files with 88 additions and 2179 deletions

View File

@@ -2,7 +2,6 @@ package bootstrap
import (
"fmt"
"github.com/tx7do/kratos-bootstrap/utils"
"github.com/go-kratos/kratos/v2"
"github.com/go-kratos/kratos/v2/log"
@@ -15,6 +14,7 @@ import (
"github.com/tx7do/kratos-bootstrap/tracer"
conf "github.com/tx7do/kratos-bootstrap/api/gen/go/conf/v1"
"github.com/tx7do/kratos-bootstrap/utils"
)
var (

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
github.com/tx7do/kratos-bootstrap/config => ../config
github.com/tx7do/kratos-bootstrap/logger => ../logger
@@ -24,7 +25,6 @@ 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 v0.3.14
github.com/tx7do/kratos-bootstrap/api v0.0.5
golang.org/x/tools v0.27.0
)