Examples using... gob.Encoder

Recent
This example shows how to encode an interface value. The key distinction from regular types is to register the concrete type that implements the interface.