Skip to content

Commit 966c890

Browse files
committed
chore: use regular json encoder
Signed-off-by: Valery Piashchynski <[email protected]>
1 parent 9c04218 commit 966c890

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module github.com/roadrunner-server/goridge/v3
22

3-
go 1.24
3+
go 1.25
44

5-
toolchain go1.24.0
5+
toolchain go1.25.0
66

77
require (
8-
github.com/goccy/go-json v0.10.5
98
github.com/roadrunner-server/errors v1.4.1
109
github.com/stretchr/testify v1.10.0
1110
github.com/vmihailenco/msgpack/v5 v5.4.1

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
22
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
33
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4-
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
5-
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
64
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
75
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
86
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=

pkg/rpc/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ package rpc
33
import (
44
"bytes"
55
"encoding/gob"
6+
"encoding/json"
67
"io"
78
"net/rpc"
89
"sync"
910

10-
"github.com/goccy/go-json"
1111
"github.com/roadrunner-server/errors"
1212
"github.com/roadrunner-server/goridge/v3/pkg/frame"
1313
"github.com/roadrunner-server/goridge/v3/pkg/relay"

pkg/rpc/codec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ package rpc
33
import (
44
"bytes"
55
"encoding/gob"
6+
"encoding/json"
67
stderr "errors"
78
"io"
89
"net/rpc"
910
"sync"
1011

11-
"github.com/goccy/go-json"
1212
"github.com/roadrunner-server/errors"
1313
"github.com/roadrunner-server/goridge/v3/pkg/frame"
1414
"github.com/roadrunner-server/goridge/v3/pkg/relay"

0 commit comments

Comments
 (0)