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
8 files changed
tree: c82ae9852c06a1b072d1a5407a6554d818cf4326
  1. doc/
  2. include/
  3. lib/
  4. misc/
  5. pkg/
  6. src/
  7. test/
  8. usr/