From 87794d0ae89edce44f4bf90b676a1c080bda5e44 Mon Sep 17 00:00:00 2001 From: Alexandr Mayorskiy Date: Mon, 27 Jul 2020 19:20:34 +0300 Subject: [PATCH] use easyjson.MarshalerUnmarshaler instead of custom (#299) --- tests/nested_marshaler.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/nested_marshaler.go b/tests/nested_marshaler.go index 00f5bee..234fff0 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 }