package structure type IteratorNext interface { Next() bool } type IteratorPrev interface { Prev() bool }