summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.