Simplify the go code generator by centralizing error handling
Simplify the go code generator by centralizing error handling

nuance/go-thrift,wfxiang08/go-thrift,i/go-thrift,zhaojkun/go-thrift,prashantv/go-thrift