diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-26 22:57:55 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-26 22:57:55 +0200 |
commit | c5be17bcda6d2c3498b483ee7252997476e0cfff (patch) | |
tree | 4838141a283667c9bb0578128ee137f83c654acf /skate | |
parent | fff30b71abf23222f1dbc7e45591cdd093bf85d1 (diff) | |
download | refcat-c5be17bcda6d2c3498b483ee7252997476e0cfff.tar.gz refcat-c5be17bcda6d2c3498b483ee7252997476e0cfff.zip |
log map size
Diffstat (limited to 'skate')
-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) } |