diff options
Diffstat (limited to 'skate/cmd')
-rw-r--r-- | skate/cmd/skate-conv/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/skate/cmd/skate-conv/main.go b/skate/cmd/skate-conv/main.go index 3627c67..10e1265 100644 --- a/skate/cmd/skate-conv/main.go +++ b/skate/cmd/skate-conv/main.go @@ -15,6 +15,7 @@ import ( "git.archive.org/martin/cgraph/skate" "git.archive.org/martin/cgraph/skate/parallel" + "git.archive.org/martin/cgraph/skate/xio" json "github.com/segmentio/encoding/json" ) @@ -49,12 +50,13 @@ func main() { log.Fatal(err) } defer f.Close() - m, err := skate.TabsToMap(f, "\t", 1, 2) + m, err := xio.TabsToMap(f, "\t", 1, 2) if err != nil { log.Fatal(err) } openLibraryAuthorMap = m } + log.Printf("author mapping: %v", len(openLibraryAuthorMap)) default: log.Fatalf("unsupported input schema: %v", *fromFormat) } |