diff --git a/etcd_registry.go b/etcd_registry.go index cef87b7..b3b3a5e 100644 --- a/etcd_registry.go +++ b/etcd_registry.go @@ -16,10 +16,11 @@ package etcd import ( + "net" + "github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex" "github.com/cloudwego/kitex/pkg/registry" "github.com/kitex-contrib/registry-etcd/retry" - "net" ) // NewEtcdRegistry creates an etcd based registry. diff --git a/option.go b/option.go index 9868f12..fdadf33 100644 --- a/option.go +++ b/option.go @@ -15,8 +15,9 @@ package etcd import ( - "github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex" "time" + + "github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex" ) // Option sets options such as username, tls etc. diff --git a/retry/option.go b/retry/option.go index d60ec39..e1373ee 100644 --- a/retry/option.go +++ b/retry/option.go @@ -15,8 +15,9 @@ package retry import ( - "github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex/retry" "time" + + "github.com/cloudwego-contrib/cwgo-pkg/registry/etcd/etcdkitex/retry" ) // Option is the only struct that can be used to set Retry Config.