xgo/objects/iterable.go
2019-01-23 13:36:03 -08:00

7 lines
169 B
Go

package objects
// Iterable represents an object that has iterator.
type Iterable interface {
// Iterate should return an Iterator for the type.
Iterate() Iterator
}