Move towards go-reflect from goccy.

This commit is contained in:
2024-09-28 17:00:53 +01:00
parent 50c1033ad1
commit 586af64d70
5 changed files with 8 additions and 3 deletions
+1
View File
@@ -5,6 +5,7 @@ go 1.21
require (
github.com/avast/retry-go/v4 v4.6.0
github.com/goccy/go-json v0.10.3
github.com/goccy/go-reflect v1.2.0
github.com/gookit/goutil v0.6.16
github.com/stretchr/testify v1.9.0
golang.org/x/net v0.29.0
+2
View File
@@ -4,6 +4,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA=
github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/goccy/go-reflect v1.2.0 h1:O0T8rZCuNmGXewnATuKYnkL0xm6o8UNOJZd/gOkb9ms=
github.com/goccy/go-reflect v1.2.0/go.mod h1:n0oYZn8VcV2CkWTxi8B9QjkCoq6GTtCEdfmR66YhFtE=
github.com/gookit/color v1.5.4 h1:FZmqs7XOyGgCAxmWyPslpiok1k05wmY3SJTytgvYFs0=
github.com/gookit/color v1.5.4/go.mod h1:pZJOeOS8DM43rXbp4AZo1n9zCU2qjpcRko0b6/QJi9w=
github.com/gookit/goutil v0.6.16 h1:9fRMCF4X9abdRD5+2HhBS/GwafjBlTUBjRtA5dgkvuw=
+2 -1
View File
@@ -1,8 +1,9 @@
package gql
import (
"reflect"
"testing"
"github.com/goccy/go-reflect"
)
func (suite *Tests) Test_searchForKeysInMapStringInterface() {
+1 -1
View File
@@ -4,11 +4,11 @@ import (
"bytes"
"fmt"
"os"
"reflect"
"testing"
"time"
"github.com/goccy/go-json"
"github.com/goccy/go-reflect"
)
func captureStderr(f func()) string {
+2 -1
View File
@@ -1,8 +1,9 @@
package gql
import (
"reflect"
"testing"
"github.com/goccy/go-reflect"
)
func (suite *Tests) TestBaseClient_convertToJSON() {