dubbo-go-hessian2
dubbo-go-hessian2 copied to clipboard
传入int,被解析为int64
What happened: go客户端的参数为int,在go服务端被解析为int64
// return "C"
case int:
return "J"
case []int:
return "[J"
case int32:
return "I"
case []int32:
return "[I"
case int64:
return "J"
他们都被映射为J,但反向的却是错的.
What you expected to happen:
int被解析正确
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: 测试环境 v2
@63isOK 建议参数定义的时候都定义为 int64
ok
Hello folks..! I am Interested in resolving this issue so please explain the issue some more detail .