Fix Err fallout for graph/iterator.Int64 iterator
This commit is contained in:
parent
e07838857f
commit
c0133018a5
1 changed files with 5 additions and 0 deletions
|
|
@ -103,6 +103,11 @@ func (it *Int64) Next() bool {
|
||||||
return graph.NextLogOut(it, val, true)
|
return graph.NextLogOut(it, val, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (it *Int64) Err() error {
|
||||||
|
// This iterator should never error.
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// DEPRECATED
|
// DEPRECATED
|
||||||
func (it *Int64) ResultTree() *graph.ResultTree {
|
func (it *Int64) ResultTree() *graph.ResultTree {
|
||||||
return graph.NewResultTree(it.Result())
|
return graph.NewResultTree(it.Result())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue