thriftgo

Thrift compiler implementation in Go with extensible plugin support

brewmacoslinux
Try with needOr install directly
Source

About

Implementation of thrift compiler in go language with plugin mechanism

Commands

thriftgo

Examples

Compile a Thrift file to Go code$ thriftgo -l go -o . example.thrift
Compile with specific output directory and namespace$ thriftgo -l go -o ./gen-go -package mypackage service.thrift
Compile with custom plugin for code generation$ thriftgo -l go -o . -plugin 'myplugin:./plugin' api.thrift