1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-29 21:47:44 +02:00

remove unnecessary dependencies between plugins

remove unnecessary dependencies between plugins
upgrade go-micro.dev/v4 to v4.2.1
This commit is contained in:
Johnson C
2021-10-23 16:20:42 +08:00
committed by GitHub
parent f96b48dad9
commit af3cfa0a4c
206 changed files with 745 additions and 676 deletions

View File

@@ -2,12 +2,6 @@ module github.com/asim/go-micro/plugins/proxy/http/v4
go 1.16
require (
github.com/asim/go-micro/plugins/registry/memory/v4 v4.0.0-20211013123123-62801c3d6883
go-micro.dev/v4 v4.1.0
)
require go-micro.dev/v4 v4.2.1
replace (
github.com/asim/go-micro/plugins/registry/memory/v4 => ../../../plugins/registry/memory
go-micro.dev/v4 => ../../../../go-micro
)
replace go-micro.dev/v4 => ../../../../go-micro

View File

@@ -139,7 +139,6 @@ github.com/exoscale/egoscale v0.46.0/go.mod h1:mpEXBpROAa/2i5GC0r33rfxG+TxSEka11
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=

View File

@@ -10,7 +10,7 @@ import (
"go-micro.dev/v4"
"go-micro.dev/v4/client"
"github.com/asim/go-micro/plugins/registry/memory/v4"
"go-micro.dev/v4/registry"
"go-micro.dev/v4/server"
)
@@ -71,7 +71,7 @@ func TestHTTPRouter(t *testing.T) {
service := micro.NewService(
micro.Context(ctx),
micro.Name("foobar"),
micro.Registry(memory.NewRegistry()),
micro.Registry(registry.NewMemoryRegistry()),
micro.AfterStart(func() error {
wg.Done()
return nil