]> Cypherpunks repositories - gostls13.git/commit
encoding/gob: do not use MarshalText, UnmarshalText
authorRuss Cox <rsc@golang.org>
Thu, 14 Nov 2013 02:29:19 +0000 (21:29 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 14 Nov 2013 02:29:19 +0000 (21:29 -0500)
commit7dd086e52d237eaf46e88c723ba61d6a835ef1d0
treebcf0b9ab84dbb27cc50d0a5dcea7ec75c4cee44e
parentb6c7cc3241d898dd89c27cb82e0a3c827314e86c
encoding/gob: do not use MarshalText, UnmarshalText

This seems to be the best of a long list of bad ways to fix this issue.

Fixes #6760.

R=r
CC=golang-dev
https://golang.org/cl/22770044
doc/go1.2.html
src/pkg/encoding/gob/doc.go
src/pkg/encoding/gob/gobencdec_test.go
src/pkg/encoding/gob/type.go