diff options
Diffstat (limited to 'skate/zippy.go')
-rw-r--r-- | skate/zippy.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/skate/zippy.go b/skate/zippy.go index 1dbf6aa..c949069 100644 --- a/skate/zippy.go +++ b/skate/zippy.go @@ -327,10 +327,14 @@ func ZippyBrefAugment(bref, raw io.Reader, w io.Writer) error { // First, iterate over all matches and sort out duplicates, e.g. // docs that have the same source and target id. - _, err := uniqueMatches(g.G0) + unique, err := uniqueMatches(g.G0) if err != nil { return err } + // We want to find all items in g.G1, which are not in unique. This + // is a set like operation, but we want a custom comparator. + log.Println(unique) + return nil } ) |