Skip to content

Commit 30c7212

Browse files
committed
fix: reduce requirement to go1.21
Signed-off-by: Christian Stewart <[email protected]>
1 parent 3c570d9 commit 30c7212

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

benchmarks/jsoniter_large_file_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ package test
22

33
import (
44
"encoding/json"
5-
"github.com/json-iterator/go"
65
"io/ioutil"
76
"os"
87
"testing"
8+
9+
jsoniter "github.com/aperturerobotics/json-iterator-lite"
910
)
1011

1112
//func Test_large_file(t *testing.T) {

benchmarks/stream_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strconv"
66
"testing"
77

8-
jsoniter "github.com/json-iterator/go"
8+
jsoniter "github.com/aperturerobotics/json-iterator-lite"
99
)
1010

1111
func Benchmark_stream_encode_big_object(b *testing.B) {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/aperturerobotics/json-iterator-lite
22

3-
go 1.22
3+
go 1.21
44

55
require (
66
github.com/json-iterator/go v1.1.12

0 commit comments

Comments
 (0)