Package iter provides generic, lazy iterators, functions for producing them from primitive types, as well as functions and methods for transforming and consuming them.
Why do you think that https://github.com/polyfloyd/go-iterator is a good alternative to iter