diff --git a/tracker/tracker.go b/tracker/tracker.go index 1176c29..48b8a3a 100644 --- a/tracker/tracker.go +++ b/tracker/tracker.go @@ -246,6 +246,7 @@ func (it *Iterator) Next(descend bool) bool { return ret } +// Bounds returns the bounds of the underlying PrefixBoundIterator, if any func (it *Iterator) Bounds() ([]byte, []byte) { if impl, ok := it.NodeIterator.(*iter.PrefixBoundIterator); ok { return impl.Bounds()