aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/hex
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-09-10 14:05:51 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2016-09-10 21:40:16 +0000
commit4cf95fda64d76ca044319fd0a292ad3a77c1da0b (patch)
tree3c4188804afe58cd22fd63170ba507684b32a825 /src/encoding/hex
parent0e435347b1ed888f51706d5467fabb829292a5ff (diff)
downloadgo-4cf95fda64d76ca044319fd0a292ad3a77c1da0b.tar.gz
go-4cf95fda64d76ca044319fd0a292ad3a77c1da0b.zip
encoding/hex: fix example function name
Found by vet. Change-Id: I556d87f853a734002f779b04ba5a3588a3117106 Reviewed-on: https://go-review.googlesource.com/28958 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/hex')
-rw-r--r--src/encoding/hex/example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/hex/example_test.go b/src/encoding/hex/example_test.go
index 2cf756ce12..3580757a54 100644
--- a/src/encoding/hex/example_test.go
+++ b/src/encoding/hex/example_test.go
@@ -38,7 +38,7 @@ func ExampleDecode() {
// Hello Gopher!
}
-func ExampleDecodedString() {
+func ExampleDecodeString() {
const s = "48656c6c6f20476f7068657221"
decoded, err := hex.DecodeString(s)
if err != nil {