Gob should be removed due to its fragility. Good alternatives are json and protobufs. Protobufs require an external tool to generate the code, but the generated code can be committed.
The content-type header could be used to provide backwards compatibility with Gob for a couple of versions.
Gob should be removed due to its fragility. Good alternatives are json and protobufs. Protobufs require an external tool to generate the code, but the generated code can be committed.
The
content-type
header could be used to provide backwards compatibility with Gob for a couple of versions.