pherzheyu commented on code in PR #1855:
URL: https://github.com/apache/dubbo-go/pull/1855#discussion_r856307364


##########
protocol/rest/server/go_restful_server.go:
##########
@@ -34,17 +34,13 @@ import (
 
 import (
        "dubbo.apache.org/dubbo-go/v3/common"
-       "dubbo.apache.org/dubbo-go/v3/common/constant"
-       "dubbo.apache.org/dubbo-go/v3/common/extension"
        "dubbo.apache.org/dubbo-go/v3/common/logger"
-       "dubbo.apache.org/dubbo-go/v3/protocol/rest/config"
-       "dubbo.apache.org/dubbo-go/v3/protocol/rest/server"
+       "dubbo.apache.org/dubbo-go/v3/config"
 )
 
-func init() {
-       extension.SetRestServer(constant.DefaultRestServer, NewGoRestfulServer)
-}
-

Review Comment:
   没用的注释去掉,这个会影响godoc的提取



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