dubbo-samples icon indicating copy to clipboard operation
dubbo-samples copied to clipboard

希望提供com.ikurento.user.Response<T> Go client例子

Open ClawHub opened this issue 5 years ago • 3 comments

com.ikurento.user.UserProvider#Sum,返回值com.ikurento.user.Response<T>对应的go client应该怎么写通用的例子,我测试时,将Response中的Data写成固定类型是可以接受参数的,但是怎么实现泛型呢。

ClawHub avatar Aug 13 '20 09:08 ClawHub

firstly, do u think there is template in go?

AlexStocks avatar Aug 13 '20 19:08 AlexStocks

Go新手一枚,听说2.0会有,那当前只能写多个Response了------------------ 原始邮件 ------------------发件人: Xin.Zh [email protected]发送时间: 2020年8月14日 03:18收件人: apache/dubbo-samples [email protected]抄送: ClawHub [email protected], Author [email protected]主题: 回复:[apache/dubbo-samples] 希望提供com.ikurento.user.Response<T> Go client例子 (#172) firstly, do u think there is template in go?

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/apache/dubbo-samples/issues/172#issuecomment-673662989", "url": "https://github.com/apache/dubbo-samples/issues/172#issuecomment-673662989", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

ClawHub avatar Aug 15 '20 01:08 ClawHub

let's wait about two years for this great feature.

AlexStocks avatar Aug 15 '20 02:08 AlexStocks