aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/encoding/gob/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/encoding/gob/doc.go')
-rw-r--r--libgo/go/encoding/gob/doc.go15
1 files changed, 11 insertions, 4 deletions
diff --git a/libgo/go/encoding/gob/doc.go b/libgo/go/encoding/gob/doc.go
index fa53431..c765707 100644
--- a/libgo/go/encoding/gob/doc.go
+++ b/libgo/go/encoding/gob/doc.go
@@ -193,10 +193,14 @@ 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
@@ -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.