You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by la...@apache.org on 2021/06/09 07:11:07 UTC
[dubbo-go-samples] branch 3.0 updated: Dep: Rename import name for
remotingMetadataService (#132)
This is an automated email from the ASF dual-hosted git repository.
laurence pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
The following commit(s) were added to refs/heads/3.0 by this push:
new c593b46 Dep: Rename import name for remotingMetadataService (#132)
c593b46 is described below
commit c593b463823870412e2f973aaf5b6363ee2d2497
Author: XavierNiu <a...@nxw.name>
AuthorDate: Wed Jun 9 15:11:01 2021 +0800
Dep: Rename import name for remotingMetadataService (#132)
* rename import name for remotingMetadataService
* conforms to code style of import block
---
registry/servicediscovery/zookeeper/go-client/cmd/client.go | 2 +-
registry/servicediscovery/zookeeper/go-server/cmd/server.go | 4 +++-
.../zookeeper/go-server/tests/integration/main_test.go | 5 ++++-
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/registry/servicediscovery/zookeeper/go-client/cmd/client.go b/registry/servicediscovery/zookeeper/go-client/cmd/client.go
index b9e6bde..dea60b2 100644
--- a/registry/servicediscovery/zookeeper/go-client/cmd/client.go
+++ b/registry/servicediscovery/zookeeper/go-client/cmd/client.go
@@ -31,7 +31,7 @@ import (
_ "dubbo.apache.org/dubbo-go/v3/metadata/mapping/memory"
_ "dubbo.apache.org/dubbo-go/v3/metadata/report/zookeeper"
_ "dubbo.apache.org/dubbo-go/v3/metadata/service/inmemory"
- _ "dubbo.apache.org/dubbo-go/v3/metadata/service/remote/remote_impl"
+ _ "dubbo.apache.org/dubbo-go/v3/metadata/service/remoting"
_ "dubbo.apache.org/dubbo-go/v3/protocol/dubbo"
_ "dubbo.apache.org/dubbo-go/v3/registry/protocol"
_ "dubbo.apache.org/dubbo-go/v3/registry/servicediscovery"
diff --git a/registry/servicediscovery/zookeeper/go-server/cmd/server.go b/registry/servicediscovery/zookeeper/go-server/cmd/server.go
index 9d06814..ce9c576 100644
--- a/registry/servicediscovery/zookeeper/go-server/cmd/server.go
+++ b/registry/servicediscovery/zookeeper/go-server/cmd/server.go
@@ -28,7 +28,9 @@ import (
import (
hessian "github.com/apache/dubbo-go-hessian2"
"github.com/apache/dubbo-go-samples/registry/servicediscovery/zookeeper/go-server/pkg"
+)
+import (
_ "dubbo.apache.org/dubbo-go/v3/cluster/cluster_impl"
_ "dubbo.apache.org/dubbo-go/v3/cluster/loadbalance"
"dubbo.apache.org/dubbo-go/v3/common/logger"
@@ -37,7 +39,7 @@ import (
_ "dubbo.apache.org/dubbo-go/v3/filter/filter_impl"
_ "dubbo.apache.org/dubbo-go/v3/metadata/mapping/memory"
_ "dubbo.apache.org/dubbo-go/v3/metadata/report/zookeeper"
- _ "dubbo.apache.org/dubbo-go/v3/metadata/service/remote/remote_impl"
+ _ "dubbo.apache.org/dubbo-go/v3/metadata/service/remoting"
_ "dubbo.apache.org/dubbo-go/v3/protocol/dubbo"
_ "dubbo.apache.org/dubbo-go/v3/protocol/jsonrpc"
_ "dubbo.apache.org/dubbo-go/v3/registry/protocol"
diff --git a/registry/servicediscovery/zookeeper/go-server/tests/integration/main_test.go b/registry/servicediscovery/zookeeper/go-server/tests/integration/main_test.go
index 87d6c66..35f7d84 100644
--- a/registry/servicediscovery/zookeeper/go-server/tests/integration/main_test.go
+++ b/registry/servicediscovery/zookeeper/go-server/tests/integration/main_test.go
@@ -28,6 +28,9 @@ import (
import (
hessian "github.com/apache/dubbo-go-hessian2"
+)
+
+import (
_ "dubbo.apache.org/dubbo-go/v3/cluster/cluster_impl"
_ "dubbo.apache.org/dubbo-go/v3/cluster/loadbalance"
_ "dubbo.apache.org/dubbo-go/v3/common/proxy/proxy_factory"
@@ -36,7 +39,7 @@ import (
_ "dubbo.apache.org/dubbo-go/v3/metadata/mapping/memory"
_ "dubbo.apache.org/dubbo-go/v3/metadata/report/zookeeper"
_ "dubbo.apache.org/dubbo-go/v3/metadata/service/inmemory"
- _ "dubbo.apache.org/dubbo-go/v3/metadata/service/remote/remote_impl"
+ _ "dubbo.apache.org/dubbo-go/v3/metadata/service/remoting"
_ "dubbo.apache.org/dubbo-go/v3/protocol/dubbo"
_ "dubbo.apache.org/dubbo-go/v3/registry/protocol"
_ "dubbo.apache.org/dubbo-go/v3/registry/servicediscovery"