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/qualidafial/go-generic is a good alternative to iter