fix options

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-09-22 02:10:09 +03:00
parent cddee4ddb0
commit 8332d628b4

View File

@ -12,6 +12,6 @@ func UnmarshalOptions(o JsonUnmarshalOptions) codec.Option {
type marshalOptionsKey struct{} type marshalOptionsKey struct{}
func MarshalOptions(o JsonUnmarshalOptions) codec.Option { func MarshalOptions(o JsonMarshalOptions) codec.Option {
return codec.SetOption(marshalOptionsKey{}, o) return codec.SetOption(marshalOptionsKey{}, o)
} }