File tree 11 files changed +13
-13
lines changed
11 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ import (
6
6
"flag"
7
7
"time"
8
8
9
- "github.com/coreos/etcd/clientv3"
10
9
_ "github.com/go-sql-driver/mysql"
11
10
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
12
11
"github.com/tal-tech/cds/cmd/dm/module"
13
12
"github.com/tal-tech/cds/pkg/strx"
14
13
"github.com/tal-tech/go-zero/core/conf"
15
14
"github.com/tal-tech/go-zero/core/logx"
16
- "go.etcd.io/etcd/clientv3/concurrency"
15
+ clientv3 "go.etcd.io/etcd/client/v3"
16
+ "go.etcd.io/etcd/client/v3/concurrency"
17
17
)
18
18
19
19
var (
Original file line number Diff line number Diff line change 5
5
"encoding/json"
6
6
"time"
7
7
8
- "github.com/coreos/etcd/clientv3"
9
8
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
9
+ clientv3 "go.etcd.io/etcd/client/v3"
10
10
)
11
11
12
12
const (
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
11
11
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
12
12
"github.com/tal-tech/go-zero/core/logx"
13
- "go.etcd.io/etcd/clientv3 /concurrency"
13
+ "go.etcd.io/etcd/client/v3 /concurrency"
14
14
)
15
15
16
16
type Manager struct {
Original file line number Diff line number Diff line change 7
7
"regexp"
8
8
9
9
"github.com/tal-tech/go-zero/core/logx"
10
- "go.etcd.io/etcd/clientv3 /concurrency"
10
+ "go.etcd.io/etcd/client/v3 /concurrency"
11
11
"gopkg.in/mgo.v2/bson"
12
12
13
13
"github.com/tal-tech/cds/cmd/dm/choperator"
Original file line number Diff line number Diff line change 9
9
"github.com/tal-tech/cds/cmd/dm/cmd/sync/config"
10
10
"github.com/tal-tech/cds/pkg/strx"
11
11
"github.com/tal-tech/go-zero/core/logx"
12
- "go.etcd.io/etcd/clientv3 "
12
+ clientv3 "go.etcd.io/etcd/client/v3 "
13
13
)
14
14
15
15
type DmClient struct {
Original file line number Diff line number Diff line change 9
9
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
10
10
"github.com/tal-tech/cds/pkg/strx"
11
11
"github.com/tal-tech/go-zero/core/logx"
12
- "go.etcd.io/etcd/clientv3 "
12
+ clientv3 "go.etcd.io/etcd/client/v3 "
13
13
)
14
14
15
15
type RtuClient struct {
Original file line number Diff line number Diff line change 7
7
"github.com/tal-tech/cds/cmd/galaxy/internal/model"
8
8
"github.com/tal-tech/cds/pkg/canalx"
9
9
"github.com/tal-tech/cds/pkg/debeziumx"
10
- "go.etcd.io/etcd/clientv3 "
10
+ clientv3 "go.etcd.io/etcd/client/v3 "
11
11
)
12
12
13
13
type ServiceContext struct {
Original file line number Diff line number Diff line change 6
6
"sync"
7
7
"time"
8
8
9
- "github.com/coreos/etcd/clientv3"
10
9
"github.com/tal-tech/go-zero/core/logx"
10
+ clientv3 "go.etcd.io/etcd/client/v3"
11
11
"go.uber.org/atomic"
12
12
13
13
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import (
8
8
"sync"
9
9
"time"
10
10
11
- "github.com/coreos/etcd/clientv3"
12
- "github.com/coreos/etcd/clientv3/concurrency"
13
11
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
14
12
"github.com/tal-tech/cds/pkg/strx"
15
13
"github.com/tal-tech/go-zero/core/logx"
14
+ clientv3 "go.etcd.io/etcd/client/v3"
15
+ "go.etcd.io/etcd/client/v3/concurrency"
16
16
)
17
17
18
18
var (
Original file line number Diff line number Diff line change 6
6
"sync/atomic"
7
7
"time"
8
8
9
- "github.com/coreos/etcd/clientv3"
10
9
"github.com/tal-tech/go-zero/core/logx"
10
+ clientv3 "go.etcd.io/etcd/client/v3"
11
11
12
12
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
13
13
"github.com/tal-tech/cds/cmd/rtu/model"
Original file line number Diff line number Diff line change 7
7
8
8
"github.com/tal-tech/cds/cmd/rtu/cmd/sync/config"
9
9
10
- "github.com/coreos/etcd/clientv3"
11
10
"github.com/tal-tech/go-zero/core/logx"
11
+ clientv3 "go.etcd.io/etcd/client/v3"
12
12
)
13
13
14
14
var (
You can’t perform that action at this time.
0 commit comments