Iterator: new function Count()
This commit is contained in:
@@ -28,6 +28,7 @@ type Iterator interface {
|
||||
Next() (item any, err error) // must return io.EOF after the last item
|
||||
Current() (item any, err error)
|
||||
Index() int
|
||||
Count() int
|
||||
}
|
||||
|
||||
type ExtIterator interface {
|
||||
|
||||
Reference in New Issue
Block a user