You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错信息:
dubbo.apache.org/dubbo-go/v3/protocol/dubbo3
../../../repository/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.2/protocol/dubbo3/dubbo3_invoker.go:79:31: cannot use uint32(timeout.Seconds()) (value of type uint32) as type time.Duration in argument to triConfig.WithClientTimeout
版本信息:
go 1.19.3 版本 dubbo-go 3.0.2 版本 macOS 12.6.1 Intel
编译报错:
部分代码:
type OrderService struct {
*facade.OrderFacadeClientImpl
}
报错信息:
dubbo.apache.org/dubbo-go/v3/protocol/dubbo3
../../../repository/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.2/protocol/dubbo3/dubbo3_invoker.go:79:31: cannot use uint32(timeout.Seconds()) (value of type uint32) as type time.Duration in argument to triConfig.WithClientTimeout
版本信息:
go 1.19.3 版本 dubbo-go 3.0.2 版本 macOS 12.6.1 Intel
编译报错:
部分代码:
type OrderService struct {
*facade.OrderFacadeClientImpl
}
func (o *OrderService) GetOrder(orderId int64) string {
orderRequest := &request.OrderRequest{
Id: orderId,
}
resp, err := o.GetOrderById(context.Background(), orderRequest)
if err != nil {
fmt.Printf("customerEcho :%+v \n", err)
}
fmt.Printf("response : %+v", resp)
res, _ := json.Marshal(resp)
return string(res)
}
syntax = "proto3";
package service;
import "request.proto";
import "response.proto";
option go_package = "echo/facade";
option java_multiple_files = true;
option java_package = "org.knight.facade.service";
service OrderFacade {
rpc GetOrderById (request.OrderRequest) returns (response.OrderResponse) {}
}
The text was updated successfully, but these errors were encountered: