aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-bref-id
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-04-16 00:17:58 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-04-19 20:29:17 +0200
commit4777c2014f0d770a5c1947f86bf7f8244856a598 (patch)
tree7d8ce3527a36a6046ddccc0e1a3fa33fe1773418 /skate/cmd/skate-bref-id
parent50c4efb3c408b98c2fb7a4e40a92a6c34ef226d0 (diff)
downloadrefcat-4777c2014f0d770a5c1947f86bf7f8244856a598.tar.gz
refcat-4777c2014f0d770a5c1947f86bf7f8244856a598.zip
switch to github.com/segmentio/encoding/json
Diffstat (limited to 'skate/cmd/skate-bref-id')
-rw-r--r--skate/cmd/skate-bref-id/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/skate/cmd/skate-bref-id/main.go b/skate/cmd/skate-bref-id/main.go
index 21e1e9e..fd2431d 100644
--- a/skate/cmd/skate-bref-id/main.go
+++ b/skate/cmd/skate-bref-id/main.go
@@ -11,13 +11,12 @@ import (
"git.archive.org/martin/cgraph/skate"
"git.archive.org/martin/cgraph/skate/parallel"
- jsoniter "github.com/json-iterator/go"
+ json "github.com/segmentio/encoding/json"
)
var (
numWorkers = flag.Int("w", runtime.NumCPU(), "number of workers")
batchSize = flag.Int("b", 100000, "batch size")
- json = jsoniter.ConfigCompatibleWithStandardLibrary
newlineB = []byte("\n")
)