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
I started working on that in my branch, but I got stuck when it came to nested types.
For example
You have a custom type X.
And a custom type Y which contains an X.
You dump an object of type Y.
My dumper will detect the need to dump a description of Y, but it won't detect that X has also been dumped, so it won't dump a description of X.
As a workaround, you could manually encode the types into the stream, or, if modifying an existing gob, save and reuse the type headers from the original gob.
Is it possible to realize the encode function of GoStrucy?
The text was updated successfully, but these errors were encountered: