Skip to content

Commit 58e4fc9

Browse files
committed
remove default codec
1 parent 9502c68 commit 58e4fc9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

transport/nats/nats.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"time"
1111

1212
"github.com/nats-io/nats.go"
13-
"go-micro.dev/v5/codec/json"
1413
"go-micro.dev/v5/server"
1514
"go-micro.dev/v5/transport"
1615
)
@@ -441,8 +440,6 @@ func (n *ntport) String() string {
441440

442441
func NewTransport(opts ...transport.Option) transport.Transport {
443442
options := transport.Options{
444-
// Default codec
445-
Codec: json.Marshaler{},
446443
Timeout: DefaultTimeout,
447444
Context: context.Background(),
448445
}

0 commit comments

Comments
 (0)