From 4777c2014f0d770a5c1947f86bf7f8244856a598 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 16 Apr 2021 00:17:58 +0200 Subject: switch to github.com/segmentio/encoding/json --- skate/cmd/skate-bref-id/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'skate/cmd/skate-bref-id') 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") ) -- cgit v1.2.3