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 2022/11/04 08:58:02 UTC

[GitHub] [dubbo-go] jiangtao6888 opened a new issue, #2106: cannot use uint32(timeout.Seconds())

jiangtao6888 opened a new issue, #2106:
URL: https://github.com/apache/dubbo-go/issues/2106

   
   **报错信息**:
   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) {}
   }
   
   


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

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

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 commented on issue #2106: cannot use uint32(timeout.Seconds())

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

   跟 https://github.com/apache/dubbo-go/issues/2086 重复,可以看下,我们已经提交了相关 pr。


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

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

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] zhaoyunxing92 closed issue #2106: cannot use uint32(timeout.Seconds())

Posted by GitBox <gi...@apache.org>.
zhaoyunxing92 closed issue #2106: cannot use uint32(timeout.Seconds())
URL: https://github.com/apache/dubbo-go/issues/2106


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

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

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