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/10/22 13:52:40 UTC

[GitHub] [dubbo-go] yinitian opened a new issue #801: go-client 泛化调用go-server

yinitian opened a new issue #801:
URL: https://github.com/apache/dubbo-go/issues/801


   Time.Time类型在传输过程中变成了nil,无论是是从client请求到server还是从server返回到client
   
   另外自定义了重命名 Time.Time MyTime,增加序列化,情况依然没有变化
   
   2020/10/22 21:22:24 dubbo client: ManageProvider Login [{admin 123456}]
   2020/10/22 21:22:24 dubbo resp: map[createdAt:<nil> deletedAt:<nil> email:yangxiaolei@kuaifazs.com id:1 password:250415709c2a1e522232f86a7dbe553b salt:5Id0Ag state:1 token:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcl9uYW1lIjoiYWRtaW4iLCJlbWFpbCI6Inlhbmd4aWFvbGVpQGt1YWlmYXpzLmNvbSIsImJ1c2luZXNzIjozLCJleHAiOjE2MDMzODM3NDQsImlzcyI6ImFkc2Vuc2UtbWFuYWdlciJ9.3VG6LIENfPIogg5a9Fzy5fB3Ag0w_RXfGC0LCGiHfu4 updatedAt:<nil> userName:admin] <nil>
   
   
   [2020-10-22/21:51:25 kuaifa.com/adsense/adsense/server/advertiser.(*AdvertiserProvider).Register: advertiser.go: 20] req:advertiser.Advertiser{Id:0, ScreenName:"杀猪的", Mobile:"18600363056", Qq:"12232", Wechat:"1111", AccountType:1, Balance:0, CertificatesImg:"11", BusinessScope:"", Status:0, Adjust:2, Sfrom:1, CreatedAt:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, UpdatedAt:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, Token:""}
   
   
   另外咨询个问题,泛化调用的时候能不能声明返回值类型


----------------------------------------------------------------
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-go] fangyincheng commented on issue #801: go-client 泛化调用go-server

Posted by GitBox <gi...@apache.org>.
fangyincheng commented on issue #801:
URL: https://github.com/apache/dubbo-go/issues/801#issuecomment-718107165


   泛化调用就是为了去除客户端的dto定义,为啥要声明返回值类型?


----------------------------------------------------------------
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-go] zouyx commented on issue #801: go-client 泛化调用go-server

Posted by GitBox <gi...@apache.org>.
zouyx commented on issue #801:
URL: https://github.com/apache/dubbo-go/issues/801#issuecomment-720294445


   @yinitian you can use dubbo-go v1.5.4 for test


----------------------------------------------------------------
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-go] AlexStocks closed issue #801: go-client 泛化调用go-server

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #801:
URL: https://github.com/apache/dubbo-go/issues/801


   


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