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
When you create a file encoded to gob, it's very possible that the command
"file" misdetects it (like if it were known format).
The solution is add the header [3]byte{'g', 'o', 'b'} (it's tested and it works).
To avoid this problem, gob.NewEncoder could have an argument to insert an header, and
gob.NewDecoder to skip it.
The text was updated successfully, but these errors were encountered:
by raul.san@sent.com:
The text was updated successfully, but these errors were encountered: