0
0
Fork 0

doc: DocIDReader.Advance() is no longer implementation dependent

This commit is contained in:
Patrick Mezard 2015-10-20 20:27:31 +02:00
parent 2fa334fc27
commit 5100e00f20
1 changed files with 3 additions and 3 deletions

View File

@ -113,9 +113,9 @@ type DocIDReader interface {
Next() (string, error)
// Advance resets the iteration to the first identifier greater than or
// equal to ID. If ID is greater than or equal to the end of the range,
// Next() call will return io.EOF. If ID is smaller than the start of the
// range, the behaviour depends on the store implementation.
// equal to ID. If ID is smaller than the start of the range, the iteration
// will start there instead. If ID is greater than or equal to the end of
// the range, Next() call will return io.EOF.
Advance(ID string) (string, error)
Close() error
}