Fix Err fallout for graph/iterator.Null iterator
This commit is contained in:
parent
ebb45d4c14
commit
f1d7600c34
1 changed files with 4 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ func (it *Null) Next() bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (it *Null) Err() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func (it *Null) Result() graph.Value {
|
func (it *Null) Result() graph.Value {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue