You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new omitzero behavior is very nice, but it can only be defined using tags. Can we introduce a new option to modify the behavior, e.g. treat omitempty as omitzero, so structs imported from another package can be marshaled with the new omitzero behavior?
The text was updated successfully, but these errors were encountered:
The new
omitzero
behavior is very nice, but it can only be defined using tags. Can we introduce a new option to modify the behavior, e.g. treatomitempty
asomitzero
, so structs imported from another package can be marshaled with the newomitzero
behavior?The text was updated successfully, but these errors were encountered: