[ 
https://issues.apache.org/jira/browse/THRIFT-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183373#comment-17183373
 ] 

Duru Can Celasun commented on THRIFT-5269:
------------------------------------------

OK, I see the problem. You are trying to use the Go library from master, but 
the compiler from 0.13. This is unsupported. Context support for protocol 
read/write methods were added in [this 
commit|https://github.com/apache/thrift/commit/e79f764f09afdfe829a06ca721059d34244d7c20],
 which will only be included in the upcoming 0.14 release.

Make sure to use the same version for library and compiler.

> Contexts are missing from GO generated code
> -------------------------------------------
>
>                 Key: THRIFT-5269
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5269
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Compiler
>    Affects Versions: 0.13.0
>         Environment: ubuntu, thrift 0.13.0, go 1.14.6
>            Reporter: Paolo Elefante
>            Priority: Blocker
>
> Hi,
> [Contexts|https://golang.org/pkg/context/#Context] are missing from golang 
> generated code.
> I'm on ubuntu, thrift 0.13.0 and go 1.14.6.
> To reproduce the fault just follow the Go Tutorial 
> ([link|https://thrift.apache.org/tutorial/go])
> Thanks. 
> BR, Paolo



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to