Clean up Linkage definition

A linkage is a direction/value pair, and that's all. A set of these can
have helper functions and the like. Cleans up some assumptions of
functionality that isn't useful (yet).
This commit is contained in:
Barak Michener 2015-04-30 14:11:28 -04:00
parent 3a7da9f2a0
commit d639aa3205
3 changed files with 11 additions and 22 deletions

View file

@ -68,7 +68,7 @@ func (qs *QuadStore) optimizeAndIterator(it *iterator.And) (graph.Iterator, bool
lset := []graph.Linkage{
{
Dir: mongoIt.dir,
Values: []graph.Value{qs.ValueOf(mongoIt.name)},
Value: qs.ValueOf(mongoIt.name),
},
}