Iterator[T] represents an iterator yielding elements of type T.
| 4 | |
| 5 | // Iterator[T] represents an iterator yielding elements of type T. |
| 6 | type Iterator[T any] interface { |
| 7 | // Next yields a new value from the Iterator. |
| 8 | Next() Option[T] |
| 9 | } |
| 10 | |
| 11 | type stringIter struct { |
| 12 | input string |
no outgoing calls
no test coverage detected
searching dependent graphs…