Skip to content

Commit 7b78cd7

Browse files
use common libraries for expect, cast and pool from parser-go
1 parent 2677453 commit 7b78cd7

26 files changed

+21
-479
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/katydid/parser-go-json
22

33
go 1.24
44

5-
require github.com/katydid/parser-go v0.7.5
5+
require github.com/katydid/parser-go v0.7.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/katydid/parser-go v0.7.5 h1:gcx6YiMezORJgPlCSHnmk939DSP4I9DuNLfwuEyv15I=
2-
github.com/katydid/parser-go v0.7.5/go.mod h1:e6PzxUlxRtkeyCMHQW7l+xG6/r/3edg14k2KK4l2WL4=
1+
github.com/katydid/parser-go v0.7.6 h1:vXjC6F0YMumXNIsvRlytfhain8psbtTtgTgJE2F1xYU=
2+
github.com/katydid/parser-go v0.7.6/go.mod h1:e6PzxUlxRtkeyCMHQW7l+xG6/r/3edg14k2KK4l2WL4=

json/alloc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package json
1717
import (
1818
"testing"
1919

20-
"github.com/katydid/parser-go-json/json/internal/pool"
2120
"github.com/katydid/parser-go-json/json/internal/testrun"
2221
"github.com/katydid/parser-go/parser/debug"
22+
"github.com/katydid/parser-go/pool"
2323
)
2424

2525
func TestNoAllocsOnAverage(t *testing.T) {

json/bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package json
1717
import (
1818
"testing"
1919

20-
"github.com/katydid/parser-go-json/json/internal/pool"
2120
"github.com/katydid/parser-go-json/json/rand"
2221
"github.com/katydid/parser-go/parser/debug"
22+
"github.com/katydid/parser-go/pool"
2323
)
2424

2525
func BenchmarkPoolDefault(b *testing.B) {

json/internal/cast/case_unsafe.go

Lines changed: 0 additions & 54 deletions
This file was deleted.

json/internal/cast/cast_purego.go

Lines changed: 0 additions & 48 deletions
This file was deleted.

json/internal/cast/cast_test.go

Lines changed: 0 additions & 118 deletions
This file was deleted.

json/internal/expect/expect.go

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)