mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
go-micro.dev/v4 (#2305)
This commit is contained in:
@ -11,7 +11,7 @@ import (
|
||||
gosync "sync"
|
||||
"time"
|
||||
|
||||
"github.com/asim/go-micro/v3/sync"
|
||||
"go-micro.dev/v4/sync"
|
||||
"github.com/hashicorp/consul/api"
|
||||
"github.com/hashicorp/consul/api/watch"
|
||||
hclog "github.com/hashicorp/go-hclog"
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
gosync "sync"
|
||||
"testing"
|
||||
|
||||
"github.com/asim/go-micro/v3/sync"
|
||||
"go-micro.dev/v4/sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -3,7 +3,7 @@ module github.com/asim/go-micro/plugins/sync/consul/v3
|
||||
go 1.16
|
||||
|
||||
require (
|
||||
github.com/asim/go-micro/v3 v3.5.2-0.20210630062103-c13bb07171bc
|
||||
go-micro.dev/v4 v4.0.0
|
||||
github.com/hashicorp/consul/api v1.9.0
|
||||
github.com/hashicorp/go-hclog v0.16.2
|
||||
)
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"strings"
|
||||
gosync "sync"
|
||||
|
||||
"github.com/asim/go-micro/v3/sync"
|
||||
"go-micro.dev/v4/sync"
|
||||
"go.etcd.io/etcd/client/v3"
|
||||
cc "go.etcd.io/etcd/client/v3/concurrency"
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ module github.com/asim/go-micro/plugins/sync/etcd/v3
|
||||
go 1.16
|
||||
|
||||
require (
|
||||
github.com/asim/go-micro/v3 v3.5.2-0.20210630062103-c13bb07171bc
|
||||
go-micro.dev/v4 v4.0.0
|
||||
go.etcd.io/etcd/client/v3 v3.5.0
|
||||
)
|
||||
|
||||
|
@ -2,6 +2,6 @@ module github.com/asim/go-micro/plugins/sync/memory/v3
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/asim/go-micro/v3 v3.5.2-0.20210630062103-c13bb07171bc
|
||||
require go-micro.dev/v4 v4.0.0
|
||||
|
||||
replace github.com/asim/go-micro/v3 => ../../../../go-micro
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
gosync "sync"
|
||||
"time"
|
||||
|
||||
"github.com/asim/go-micro/v3/sync"
|
||||
"go-micro.dev/v4/sync"
|
||||
)
|
||||
|
||||
type memorySync struct {
|
||||
|
Reference in New Issue
Block a user