]> Cypherpunks repositories - gostls13.git/commit
store ids rather than Types in the structs so they can be encoded.
authorRob Pike <r@golang.org>
Thu, 9 Jul 2009 21:33:43 +0000 (14:33 -0700)
committerRob Pike <r@golang.org>
Thu, 9 Jul 2009 21:33:43 +0000 (14:33 -0700)
commitec23467e65260bbbcb0faaa4dd053cca9002ace7
treec82ae9852c06a1b072d1a5407a6554d818cf4326
parent7472f4c951f5ecf53efc18d021b09235bbb90512
store ids rather than Types in the structs so they can be encoded.
change Type to gobType.
fix some bugs around recursive structures.
lots of cleanup.
add the first cut at a type encoder.

R=rsc
DELTA=400  (287 added, 11 deleted, 102 changed)
OCL=31401
CL=31406
src/pkg/gob/Makefile
src/pkg/gob/codec_test.go
src/pkg/gob/decode.go
src/pkg/gob/encode.go
src/pkg/gob/encoder.go [new file with mode: 0644]
src/pkg/gob/encoder_test.go [new file with mode: 0644]
src/pkg/gob/type.go
src/pkg/gob/type_test.go