iter-list.go: implemented the Typer interface

This commit is contained in:
2024-07-06 04:51:11 +02:00
parent fe5c8e9619
commit 0170baa0f5
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -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