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:
SliceT *SliceType
StructT *StructType
MapT *MapType
GobEncoderT *gobEncoderType
BinaryMarshalerT *gobEncoderType
TextMarshalerT *gobEncoderType
}
type arrayType struct {
CommonType
......@@ -224,6 +228,9 @@ description, constructed from these types:
Key typeId
Elem typeId
}
type gobEncoderType struct {
CommonType
}
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.
......
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