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 2020/08/14 14:18:20 UTC

[GitHub] [dubbo-samples] SocketNet opened a new issue #173: 切片类型返回值问题

SocketNet opened a new issue #173:
URL: https://github.com/apache/dubbo-samples/issues/173


   ### 大佬好
   #### 这里直接使用切片类型UserEntity无法接收
   ![image](https://user-images.githubusercontent.com/10844093/90258691-7dbb6c00-de7b-11ea-9bed-e10f80c49916.png)
   #### 将返回结果改为[]interface{}能够接收返回值,但需要遍历然后进行断言转换为UserEntity类型使用。所以有什么办法直接能够接收一个[]*UserEntity类型的结果
   ![image](https://user-images.githubusercontent.com/10844093/90259052-01755880-de7c-11ea-9c90-e0bff3bff4cb.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [dubbo-samples] SocketNet closed issue #173: 切片类型返回值问题

Posted by GitBox <gi...@apache.org>.
SocketNet closed issue #173:
URL: https://github.com/apache/dubbo-samples/issues/173


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [dubbo-samples] SocketNet commented on issue #173: 切片类型返回值问题

Posted by GitBox <gi...@apache.org>.
SocketNet commented on issue #173:
URL: https://github.com/apache/dubbo-samples/issues/173#issuecomment-674388384


   额,泛型


----------------------------------------------------------------
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:
users@infra.apache.org



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