diff --git a/registry/polaris/core.go b/registry/polaris/core.go index 9d777126f9..d505d1495c 100644 --- a/registry/polaris/core.go +++ b/registry/polaris/core.go @@ -20,13 +20,18 @@ package polaris import ( "sync" "time" +) - "dubbo.apache.org/dubbo-go/v3/config_center" - "dubbo.apache.org/dubbo-go/v3/remoting" +import ( "github.com/polarismesh/polaris-go/api" "github.com/polarismesh/polaris-go/pkg/model" ) +import ( + "dubbo.apache.org/dubbo-go/v3/config_center" + "dubbo.apache.org/dubbo-go/v3/remoting" +) + type subscriber func(remoting.EventType, []model.Instance) // PolarisServiceWatcher