Install
Set GOPATH and run.
$ go get github.com/ezbuy/tgen/...
Usage
Generate TypeScript code with webapi mode.
$ tgen gen -l typescript -m rest -i xxx.thrift -o ./output
Set GOPATH and run.
$ go get github.com/ezbuy/tgen/...
Generate TypeScript code with webapi mode.
$ tgen gen -l typescript -m rest -i xxx.thrift -o ./output