From 8a8e8c7c53b0ebb1aaadb8c4dd806b7347776ad2 Mon Sep 17 00:00:00 2001 From: chuntaojun Date: Wed, 1 Dec 2021 21:13:27 +0800 Subject: [PATCH] style: fix code style --- registry/polaris/core.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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