Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
FoghostCn committed May 18, 2024
1 parent 3d44f85 commit fb700a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package zookeeper

import (
"dubbo.apache.org/dubbo-go/v3/registry/servicediscovery"
"encoding/json"
"fmt"
"strings"
Expand All @@ -31,17 +30,18 @@ import (
dubboConst "dubbo.apache.org/dubbo-go/v3/common/constant"
"dubbo.apache.org/dubbo-go/v3/metadata/definition"
dr "dubbo.apache.org/dubbo-go/v3/registry"
"dubbo.apache.org/dubbo-go/v3/registry/servicediscovery"
"dubbo.apache.org/dubbo-go/v3/remoting/zookeeper/curator_discovery"
"github.com/dubbo-go-pixiu/pixiu-api/pkg/api/config"
"github.com/dubbogo/go-zookeeper/zk"
)

import (
"github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/common"
"github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/registry"
"github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/remoting/zookeeper"
"github.com/apache/dubbo-go-pixiu/pkg/common/constant"
"github.com/apache/dubbo-go-pixiu/pkg/logger"

"github.com/dubbo-go-pixiu/pixiu-api/pkg/api/config"

"github.com/dubbogo/go-zookeeper/zk"
)

var _ registry.Listener = new(applicationServiceListener)
Expand Down
10 changes: 5 additions & 5 deletions pkg/adapter/dubboregistry/registry/zookeeper/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
package zookeeper

import (
hessian "github.com/apache/dubbo-go-hessian2"
"strings"
"time"
)

import (
"github.com/pkg/errors"
)

import (
dubboCommon "dubbo.apache.org/dubbo-go/v3/common"

hessian "github.com/apache/dubbo-go-hessian2"

"github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/common"
"github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/registry"
baseRegistry "github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/registry/base"
zk "github.com/apache/dubbo-go-pixiu/pkg/adapter/dubboregistry/remoting/zookeeper"
"github.com/apache/dubbo-go-pixiu/pkg/common/constant"
"github.com/apache/dubbo-go-pixiu/pkg/model"

"github.com/pkg/errors"
)

var (
Expand Down

0 comments on commit fb700a9

Please sign in to comment.