Open JonasMuehlmann opened 2 years ago
To make the calls chainable, they can not return errors in addition to the new iterators. To signal errors, they should return end iterators and a wrapper should do if it.IsEnd() {return it} before anything else.
if it.IsEnd() {return it}
This probably needs to be implemented in the interfaces as well
To make the calls chainable, they can not return errors in addition to the new iterators. To signal errors, they should return end iterators and a wrapper should do
if it.IsEnd() {return it}
before anything else.