Open leizor opened 9 months ago
A field that uses a custom marshaler does not adhere to the omitempty tag the same way that encoding/json does.
omitempty
encoding/json
Example go playground: https://go.dev/play/p/ccfrr3rvac3
A field that uses a custom marshaler does not adhere to the
omitempty
tag the same way thatencoding/json
does.Example go playground: https://go.dev/play/p/ccfrr3rvac3