aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-from-unstructured/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/cmd/skate-from-unstructured/main.go')
-rw-r--r--skate/cmd/skate-from-unstructured/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/skate/cmd/skate-from-unstructured/main.go b/skate/cmd/skate-from-unstructured/main.go
index 8ebc613..2c6e81f 100644
--- a/skate/cmd/skate-from-unstructured/main.go
+++ b/skate/cmd/skate-from-unstructured/main.go
@@ -12,13 +12,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
bytesNewline = []byte("\n")
PatDOI = regexp.MustCompile(`10[.][0-9]{1,8}/[^ ]*[\w]`)