diff --git a/config_center/apollo/factory.go b/config_center/apollo/factory.go index 76a99ca28ff563fd485733f708417792049171bd..c7673f811d69eb36327c5f6ee2b2bbd569151813 100644 --- a/config_center/apollo/factory.go +++ b/config_center/apollo/factory.go @@ -18,10 +18,13 @@ limitations under the License. package apollo import ( - "github.com/apache/dubbo-go/config_center/parser" "sync" ) +import ( + "github.com/apache/dubbo-go/config_center/parser" +) + import ( "github.com/apache/dubbo-go/common" "github.com/apache/dubbo-go/common/extension" diff --git a/config_center/apollo/impl_test.go b/config_center/apollo/impl_test.go index c5d8b76a6ea86d1662a9d2999b5819a0fea1dea7..52ab60f06a61d392fc1df6f55757493ba86a6af1 100644 --- a/config_center/apollo/impl_test.go +++ b/config_center/apollo/impl_test.go @@ -26,6 +26,10 @@ import ( "testing" ) +import ( + "github.com/stretchr/testify/assert" +) + import ( "github.com/apache/dubbo-go/common" "github.com/apache/dubbo-go/config" @@ -34,10 +38,6 @@ import ( "github.com/apache/dubbo-go/remoting" ) -import ( - "github.com/stretchr/testify/assert" -) - const ( mockAppId = "testApplication_yang" mockCluster = "dev" diff --git a/config_center/apollo/listener.go b/config_center/apollo/listener.go index 33f049150a83ba340cc6e72c2557eef3b956de2a..d81e1cbf34e405f7d2974e29558414029308b36b 100644 --- a/config_center/apollo/listener.go +++ b/config_center/apollo/listener.go @@ -18,11 +18,11 @@ limitations under the License. package apollo import ( - "github.com/apache/dubbo-go/config_center" + "github.com/zouyx/agollo" ) import ( - "github.com/zouyx/agollo" + "github.com/apache/dubbo-go/config_center" ) type apolloListener struct {