Make Close() method on Iterators return an error
This commit is contained in:
parent
5c9979ec8b
commit
1b6395ed0a
19 changed files with 89 additions and 33 deletions
|
|
@ -136,7 +136,7 @@ type Iterator interface {
|
|||
Describe() Description
|
||||
|
||||
// Close the iterator and do internal cleanup.
|
||||
Close()
|
||||
Close() error
|
||||
|
||||
// UID returns the unique identifier of the iterator.
|
||||
UID() uint64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue