Iterator interface now embeds fmt.Stringer

This commit is contained in:
Celestino Amoroso 2026-04-23 22:04:41 +02:00
parent 2b80ba6789
commit 9e4252173b

View File

@ -27,6 +27,7 @@ const (
type Iterator interface {
Typer
fmt.Stringer
Next() (item any, err error) // must return io.EOF after the last item
Current() (item any, err error)
Index() int