go icon indicating copy to clipboard operation
go copied to clipboard

RegisterTypeEncoder not working when marshal embedded field

Open klzwii opened this issue 4 years ago • 0 comments

I registered a Encoder for struct a, and embedded it in struct b, but it doesn't work when I try to marshal data to b.

klzwii avatar Aug 19 '21 09:08 klzwii