Documentation
¶
Overview ¶
Internal package with a copy of the iterator from the main code used in internal packages and tests. The copy is created to resolve import cycling of packages and to prevent false test coverage (without checking the results) of iterator from main code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Iter ¶
func Iter[Type constraints.Integer](begin, end Type) iter.Seq[Type]
A range iterator for safely (without infinite loops due to counter overflow) iterating over integer values from begin to end inclusive with a step one.
If begin is greater than end, the return value will be decremented, otherwise it will be incremented.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.