Konstantin Shaposhnikov created THRIFT-3149: -----------------------------------------------
Summary: Make ReadFieldN methods in generated Go code private Key: THRIFT-3149 URL: https://issues.apache.org/jira/browse/THRIFT-3149 Project: Thrift Issue Type: Improvement Components: Go - Compiler Affects Versions: 0.9.2 Reporter: Konstantin Shaposhnikov The go thrift compiler generates ReadFieldN and writeFieldN methods for every field of a struct. E.g.: {code} func (p *Statistics) ReadField1(iprot thrift.TProtocol) error { ... } func (p *Statistics) writeField1(oprot thrift.TProtocol) (err error) { ... } {code} ReadField1, ReadField2, etc are not very descriptive names and shouldn't be part of public API of a generated package (like writeFieldN). -- This message was sent by Atlassian JIRA (v6.3.4#6332)