527f85f8e6
If a type only defines one-half of the symmetry (e.g. it implements MarshalJSON() but not UnmarshalJSON() ), then that type doesn't satisfy the codec encoding/decoding check and instead codec will not encode or decode the item using the special interface methods. |
||
---|---|---|
.. | ||
data.go | ||
data_test.go |