You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/08 07:25:58 UTC

[GitHub] [dubbo-go-samples] LaurenceLiZhixin commented on a change in pull request #232: config enhance rpc dubbo integrate test

LaurenceLiZhixin commented on a change in pull request #232:
URL: https://github.com/apache/dubbo-go-samples/pull/232#discussion_r704124828



##########
File path: integrate_test/rpc/dubbo/tests/integration/main_test.go
##########
@@ -120,11 +120,11 @@ func (User) JavaClassName() string {
 
 type UserProvider struct {
 	GetUsers  func(req []interface{}) ([]interface{}, error)
-	GetErr    func(ctx context.Context, req []interface{}, rsp *User) error
-	GetUser   func(ctx context.Context, req []interface{}, rsp *User) error
+	GetErr    func(ctx context.Context, req []interface{}) (*User, error)

Review comment:
       这种久的接口都换成新的吧,把[]interface{} 换成 *User




-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org