Change information
Commit message:
encoding/gob: clarify docs about pointers to zero values not being sent
The documentation on encoding/gob mentions that pointers are flattened,
and it also explicitly says that empty values are not sent.
A corollary of this, is that pointers to zero values are not sent, i.e.,
gob-encoding of *false becomes nil on the receiver side.
It is worth documenting this explicitly.
Change-Id: I1909203b8972e20791144bdda22e5f1b466aad97
GitHub-Last-Rev: 57764ec235ffe48484be98d3ed5269f0102ca4f8
GitHub-Pull-Request: golang/go#77009
Files:
- M src/encoding/gob/doc.go
Change size: S
Delta: 1 file changed, 10 insertions(+), 10 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Sean Liao, +1 by Cherry Mui, +2 by Rob Pike, +1 by Roland Shoemaker
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI