diff --git a/src/encoding/gob/doc.go b/src/encoding/gob/doc.go index 30e7978b7c9..0866ba15446 100644 --- a/src/encoding/gob/doc.go +++ b/src/encoding/gob/doc.go @@ -193,14 +193,13 @@ pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireTy description, constructed from these types: type wireType struct { - ArrayT *ArrayType - SliceT *SliceType - StructT *StructType - MapT *MapType + ArrayT *arrayType + SliceT *sliceType + StructT *structType + MapT *mapType GobEncoderT *gobEncoderType BinaryMarshalerT *gobEncoderType TextMarshalerT *gobEncoderType - } type arrayType struct { CommonType @@ -217,7 +216,7 @@ description, constructed from these types: } type structType struct { CommonType - Field []*fieldType // the fields of the struct. + Field []fieldType // the fields of the struct. } type fieldType struct { Name string // the name of the field.