How about:  ```golang  if partPath.isTablePath {      scan, partialCost, rowCount = ds.convertToPartialTableScan(prop, partPath)  } else {      scan, partialCost, rowCount = ds.convertToPartialIndexScan(prop, partPath)  }  scans = append(scans, scan)  totalCost += partialCost  totalRowCount += rowCount  ```