LaurenceLiZhixin commented on a change in pull request #213:
URL: https://github.com/apache/dubbo-go-samples/pull/213#discussion_r697145339
##########
File path: rpc/dubbo/go-client/cmd/client.go
##########
@@ -57,84 +49,84 @@ func main() {
time.Sleep(6 * time.Second)
- gxlog.CInfo("\n\ntest")
+ logger.Info("\n\ntest")
test()
}
func test() {
- gxlog.CInfo("\n\n\necho")
+ logger.Info("\n\n\necho")
res, err := userProvider.Echo(context.TODO(), "OK")
if err != nil {
panic(err)
}
- gxlog.CInfo("res: %v\n", res)
+ logger.Info("res: %v\n", res)
- gxlog.CInfo("\n\n\nstart to test dubbo")
+ logger.Info("\n\n\nstart to test dubbo")
user := &pkg.User{}
err = userProvider.GetUser(context.TODO(), []interface{}{"A003"}, user)
Review comment:
我们按照新的接口规范定义samples的接口,摒弃这种旧的方式。https://www.yuque.com/docs/share/eff9c51f-a7f4-47d6-87ff-11a2152bdffe?#
相关的例子可以删掉了,只保留我们规范的接口即可。
--
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]