diff options
Diffstat (limited to 'skate/cluster.go')
-rw-r--r-- | skate/cluster.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/skate/cluster.go b/skate/cluster.go index bec8154..7fc4e1b 100644 --- a/skate/cluster.go +++ b/skate/cluster.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - jsoniter "github.com/json-iterator/go" + json "github.com/segmentio/encoding/json" "golang.org/x/text/unicode/norm" ) @@ -12,7 +12,6 @@ import ( type IdentifierKeyFunc func([]byte) (string, string, error) var ( - json = jsoniter.ConfigCompatibleWithStandardLibrary wsReplacer = strings.NewReplacer("\t", " ", "\n", " ") repeatedWs = regexp.MustCompile(`[ ]{2,}`) nonWord = regexp.MustCompile(`[\W]+`) |