]> Cypherpunks repositories - gostls13.git/commit
gob: don't send type information about unexported fields.
authorRob Pike <r@golang.org>
Sun, 6 Mar 2011 00:05:35 +0000 (16:05 -0800)
committerRob Pike <r@golang.org>
Sun, 6 Mar 2011 00:05:35 +0000 (16:05 -0800)
commit369c48cafb34aa4a5db242f1bbcc88467f1fdb8b
treefe87ea10c99763a2d2be7916c4c7b03f0bcfa116
parentbfd3d81b92fc1c1e526cadeefbde254bb6d6c191
gob: don't send type information about unexported fields.

A change a while back stop sending data for unexported fields
but due to an oversight the type info was being sent also. It's
inconsequential but wrong to do that.

R=rsc, rh
CC=golang-dev
https://golang.org/cl/4252058
src/pkg/gob/decode.go
src/pkg/gob/encode.go
src/pkg/gob/type.go
src/pkg/gob/type_test.go