Skip to content

Commit

Permalink
use easyjson.MarshalerUnmarshaler instead of custom (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
GoWebProd committed Jul 27, 2020
1 parent 0c6c960 commit 87794d0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/nested_marshaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ import (
"github.com/mailru/easyjson/jwriter"
)

type MarshalerUnmarshaler interface {
easyjson.Marshaler
easyjson.Unmarshaler
}

//easyjson:json
type NestedMarshaler struct {
Value MarshalerUnmarshaler
Value easyjson.MarshalerUnmarshaler
Value2 int
}

Expand Down

0 comments on commit 87794d0

Please sign in to comment.