You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by zh...@apache.org on 2022/05/29 06:31:18 UTC

[dubbo-go-samples] branch 1.5 updated: Rm consul (#381)

This is an automated email from the ASF dual-hosted git repository.

zhaoyunxing pushed a commit to branch 1.5
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/1.5 by this push:
     new cd6424fc Rm consul (#381)
cd6424fc is described below

commit cd6424fc9abba0b34ade712c202ad623f51770a8
Author: zhaoyunxing <zh...@apache.org>
AuthorDate: Sun May 29 14:31:13 2022 +0800

    Rm consul (#381)
    
    * rm consul
---
 general/rest/go-client/cmd/client.go                                   | 1 +
 generic/go-client/cmd/client.go                                        | 2 +-
 generic/go-server/tests/integration/userprovider_test.go               | 2 +-
 .../servicediscovery/file/go-server/tests/integration/main_test.go     | 3 +--
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/general/rest/go-client/cmd/client.go b/general/rest/go-client/cmd/client.go
index d1690ad8..d2f123cb 100644
--- a/general/rest/go-client/cmd/client.go
+++ b/general/rest/go-client/cmd/client.go
@@ -36,6 +36,7 @@ import (
 	_ "github.com/apache/dubbo-go/protocol/rest"
 	_ "github.com/apache/dubbo-go/registry/protocol"
 	_ "github.com/apache/dubbo-go/registry/zookeeper"
+
 	"github.com/dubbogo/gost/log"
 )
 
diff --git a/generic/go-client/cmd/client.go b/generic/go-client/cmd/client.go
index 8a8d003c..6ce0234b 100644
--- a/generic/go-client/cmd/client.go
+++ b/generic/go-client/cmd/client.go
@@ -27,6 +27,7 @@ import (
 )
 
 import (
+	hessian "github.com/apache/dubbo-go-hessian2"
 	_ "github.com/apache/dubbo-go/cluster/cluster_impl"
 	_ "github.com/apache/dubbo-go/cluster/loadbalance"
 	"github.com/apache/dubbo-go/common/logger"
@@ -37,7 +38,6 @@ import (
 	_ "github.com/apache/dubbo-go/registry/protocol"
 	_ "github.com/apache/dubbo-go/registry/zookeeper"
 
-	hessian "github.com/apache/dubbo-go-hessian2"
 	"github.com/dubbogo/gost/log"
 )
 
diff --git a/generic/go-server/tests/integration/userprovider_test.go b/generic/go-server/tests/integration/userprovider_test.go
index 585cc530..9dd8ddcb 100644
--- a/generic/go-server/tests/integration/userprovider_test.go
+++ b/generic/go-server/tests/integration/userprovider_test.go
@@ -26,9 +26,9 @@ import (
 )
 
 import (
+	hessian "github.com/apache/dubbo-go-hessian2"
 	"github.com/apache/dubbo-go/config"
 
-	hessian "github.com/apache/dubbo-go-hessian2"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/registry/servicediscovery/file/go-server/tests/integration/main_test.go b/registry/servicediscovery/file/go-server/tests/integration/main_test.go
index 08b8fdaa..7b4f1570 100644
--- a/registry/servicediscovery/file/go-server/tests/integration/main_test.go
+++ b/registry/servicediscovery/file/go-server/tests/integration/main_test.go
@@ -1,3 +1,4 @@
+//go:build integration
 // +build integration
 
 /*
@@ -34,10 +35,8 @@ import (
 	"github.com/apache/dubbo-go/config"
 	_ "github.com/apache/dubbo-go/filter/filter_impl"
 	_ "github.com/apache/dubbo-go/metadata/mapping/memory"
-	_ "github.com/apache/dubbo-go/metadata/report/consul"
 	_ "github.com/apache/dubbo-go/metadata/service/inmemory"
 	_ "github.com/apache/dubbo-go/protocol/dubbo"
-	_ "github.com/apache/dubbo-go/registry/consul"
 	_ "github.com/apache/dubbo-go/registry/file"
 	_ "github.com/apache/dubbo-go/registry/protocol"
 	_ "github.com/apache/dubbo-go/registry/servicediscovery"