()
| 34 | } |
| 35 | |
| 36 | func (w *iteratorConcator) HasNext() bool { |
| 37 | for w.index < len(w.iterators) { |
| 38 | if w.iterators[w.index].HasNext() { |
| 39 | return true |
| 40 | } |
| 41 | w.index++ |
| 42 | } |
| 43 | return false |
| 44 | } |
| 45 | |
| 46 | func (w *iteratorConcator) Fetch() (interface{}, errors.Error) { |
| 47 | if w.index >= len(w.iterators) { |