Commit 6c6a0a1f authored by Rob Pike's avatar Rob Pike

encoding/gob: update documentation in doc.go for wireType

It was just out of date.

Fixes #30656

Change-Id: I1fab7dd93091865a8240769eca5dd19cdbc78b81
Reviewed-on: https://go-review.googlesource.com/c/go/+/166177Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent e341bae0
...@@ -197,6 +197,10 @@ description, constructed from these types: ...@@ -197,6 +197,10 @@ description, constructed from these types:
SliceT *SliceType SliceT *SliceType
StructT *StructType StructT *StructType
MapT *MapType MapT *MapType
GobEncoderT *gobEncoderType
BinaryMarshalerT *gobEncoderType
TextMarshalerT *gobEncoderType
} }
type arrayType struct { type arrayType struct {
CommonType CommonType
...@@ -224,6 +228,9 @@ description, constructed from these types: ...@@ -224,6 +228,9 @@ description, constructed from these types:
Key typeId Key typeId
Elem typeId Elem typeId
} }
type gobEncoderType struct {
CommonType
}
If there are nested type ids, the types for all inner type ids must be defined If there are nested type ids, the types for all inner type ids must be defined
before the top-level type id is used to describe an encoded-v. before the top-level type id is used to describe an encoded-v.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment