func (p *FindAllResult) readField0(iprot thrift.TProtocol) error { _, size, err := iprot.ReadListBegin() if err != nil { return fmt.Errorf("error reading list being: %s") } p.Success = make([]string, 0, size) for i := 0; i < size; i++ { var _elem8 string if v, err := iprot.ReadString(); err != nil { return fmt.Errorf("error reading field 0: %s") } else { _elem8 = v } p.Success = append(p.Success, _elem8) } if err := iprot.ReadListEnd(); err != nil { return fmt.Errorf("error reading list end: %s") } return nil }