-
Rob Pike authored
The transmitter must encode an interface value if it is to be decoded into an interface value, but it's a common and confusing error to encode a concrete value and attempt to decode it into an interface, particularly *interface{}. This CL attempts to explain things better. Fixes #2367. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5485072
ba576b2b
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
codec_test.go | ||
debug.go | ||
decode.go | ||
decoder.go | ||
doc.go | ||
dump.go | ||
encode.go | ||
encoder.go | ||
encoder_test.go | ||
error.go | ||
gobencdec_test.go | ||
timing_test.go | ||
type.go | ||
type_test.go |