summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-11-18 12:38:31 +1100
committerAndrew Gerrand <adg@golang.org>2013-11-18 12:38:31 +1100
commitc5cada7b2685bb1321a033883a7b82c5dc0a47f7 (patch)
treed56b7a9753ba0bfb9ae34f8bdb3dc1419fcd66cd
parent1116cd7ae252872464cb284e979bb9d6d2d49571 (diff)
downloadgo-c5cada7b2685bb1321a033883a7b82c5dc0a47f7.tar.gz
[release-branch.go1.2] encoding/gob: expose encode/decode example
??? CL 26220045 / d76ade89413f encoding/gob: expose encode/decode example R=golang-dev, r CC=golang-dev https://codereview.appspot.com/26220045 ??? R=golang-dev CC=golang-dev https://codereview.appspot.com/25380044
-rw-r--r--src/pkg/encoding/gob/example_encdec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/encoding/gob/example_encdec_test.go b/src/pkg/encoding/gob/example_encdec_test.go
index 0ae6d9d99..e45ad4ccf 100644
--- a/src/pkg/encoding/gob/example_encdec_test.go
+++ b/src/pkg/encoding/gob/example_encdec_test.go
@@ -37,7 +37,7 @@ func (v *Vector) UnmarshalBinary(data []byte) error {
}
// This example transmits a value that implements the custom encoding and decoding methods.
-func Example_gob_encode_decode() {
+func Example_encodeDecode() {
var network bytes.Buffer // Stand-in for the network.
// Create an encoder and send a value.