go-thrift icon indicating copy to clipboard operation
go-thrift copied to clipboard

A native Thrift package for Go

Results 39 go-thrift issues
Sort by recently updated
recently updated
newest added

Current implementation generates non-compilable code if typedef defined. example: type Map1 map[int32]string this would generate different access code for parameters and return values. Return values will be return by value,...

I've generated a few thrift clients with this lib. Working good so far. But I have an instance where I've needed to modify the generated code. It's related to the...

``` enum Something { FOO, BAR, ON_NOES = 0xFACE // fails } ```

Hi, tried to use this library (after some problems with Apache's one), and ran into a problem with binary codec. I was looking at the source code and this place...

When a function in thrift is declared as oneway, the go code generated will have the default return type 'err error', it should be wrapped with bracket.

When message is bigger then maxFrameSize then buffer need to be reset, otherwise the content will stuck there and we going to get an ErrFrameTooBig forever.

I was getting some output that looked like ``` go const Foo = *Bar{ Baz: 1, } ``` The first commit fixes `const` to `var` and the second commit removes...

Different versions of thrift take different stances on this, so we need to support it to maintain compatibility