diff --git a/tests/nested_marshaler.go b/tests/nested_marshaler.go index 00f5beef..234fff0b 100644 --- a/tests/nested_marshaler.go +++ b/tests/nested_marshaler.go @@ -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 }