From 8332d628b422777650cc164681b81e9ac563bd56 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 22 Sep 2021 02:10:09 +0300 Subject: [PATCH] fix options Signed-off-by: Vasiliy Tolstov --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 08f0f51..60d3971 100644 --- a/options.go +++ b/options.go @@ -12,6 +12,6 @@ func UnmarshalOptions(o JsonUnmarshalOptions) codec.Option { type marshalOptionsKey struct{} -func MarshalOptions(o JsonUnmarshalOptions) codec.Option { +func MarshalOptions(o JsonMarshalOptions) codec.Option { return codec.SetOption(marshalOptionsKey{}, o) }