HasNext returns a boolean to indicate whether there was any row to be `Fetch`
()
| 79 | |
| 80 | // HasNext returns a boolean to indicate whether there was any row to be `Fetch` |
| 81 | func (ci *CsvFileIterator) HasNext() bool { |
| 82 | hasNext, err := ci.HasNextWithError() |
| 83 | if err != nil { |
| 84 | panic(err) |
| 85 | } |
| 86 | return hasNext |
| 87 | } |
| 88 | |
| 89 | // HasNextWithError returns a boolean to indicate whether there was any row to be `Fetch` |
| 90 | func (ci *CsvFileIterator) HasNextWithError() (bool, errors.Error) { |