iter-list.go: implemented the Typer interface
This commit is contained in:
@@ -22,6 +22,7 @@ const (
|
||||
)
|
||||
|
||||
type Iterator interface {
|
||||
Typer
|
||||
Next() (item any, err error) // must return io.EOF after the last item
|
||||
Current() (item any, err error)
|
||||
Index() int
|
||||
|
||||
Reference in New Issue
Block a user