Register should be RegisterIterator
This commit is contained in:
parent
995b38fb5b
commit
e780c1ceb9
4 changed files with 5 additions and 5 deletions
|
|
@ -160,7 +160,7 @@ func (it *Iterator) Size() (int64, bool) {
|
|||
var mongoType graph.Type
|
||||
|
||||
func init() {
|
||||
mongoType = graph.Register("mongo")
|
||||
mongoType = graph.RegisterIterator("mongo")
|
||||
}
|
||||
|
||||
func Type() graph.Type { return mongoType }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue