Go Thrift pool proxy generator.
go install github.com/koofr/gothriftpool/gothriftpool
thrift --gen go -out . gothriftpooltest/myservice.thrift
gothriftpool -w myservice.MyService
The latter will create ./myserviceproxy/myserviceproxy.go
file.
go test ./gothriftpooltest
Coverage:
cd gothriftpooltest
go test -coverpkg=./myserviceproxy -coverprofile=test.coverprofile && go tool cover -html=test.coverprofile
thrift --gen go -out `pwd`/gothriftpooltest gothriftpooltest/myservice.thrift
go run ./gothriftpool myservice.MyService > gothriftpooltest/myserviceproxy/myserviceproxy.go