alchemy-lee commented on a change in pull request #1339:
URL: https://github.com/apache/dubbo-go/pull/1339#discussion_r676484893



##########
File path: common/rpc_service.go
##########
@@ -42,6 +42,32 @@ type RPCService interface {
        Reference() string
 }
 
+// GetReference return the reference id of the service.
+// If the service implemented the RPCService interface,
+// it will call the Reference method; if not, it will
+// return the struct name as the reference id.
+func GetReference(service interface{}) string {

Review comment:
       I have modified it. 😊




-- 
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.

To unsubscribe, e-mail: [email protected]

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