AlexStocks commented on a change in pull request #1161:
URL: https://github.com/apache/dubbo-go/pull/1161#discussion_r615303552



##########
File path: common/extension/metadata_remote.go
##########
@@ -0,0 +1,25 @@
+package extension
+
+import (
+       "fmt"
+       "github.com/apache/dubbo-go/metadata/remote"
+       perrors "github.com/pkg/errors"
+)
+
+var (
+       creator func() (remote.RemoteMetadataService, error)

Review comment:
       another question: are you sure the creator do not need a lock to protect 
read/write?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to