Exemple #1
0
func (p *LogResult) ReadField0(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadI32(); err != nil {
		return fmt.Errorf("error reading field 0: %s", err)
	} else {
		temp := ResultCode(v)
		p.Success = &temp
	}
	return nil
}