1
0
mirror of https://github.com/golang/go synced 2024-11-22 15:04:52 -07:00

encoding/gob: fix package doc typo for wireType

This commit is contained in:
Chen Su 2024-07-25 15:14:40 +08:00
parent bd6f911f85
commit 3f1da518a4
No known key found for this signature in database
GPG Key ID: EDFE773FD8A6350E

View File

@ -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.