1
0
mirror of https://github.com/golang/go synced 2024-09-30 03:24:39 -06:00

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>
This commit is contained in:
Josh Bleecher Snyder 2016-09-10 14:05:51 -07:00
parent 0e435347b1
commit 4cf95fda64

View File

@ -38,7 +38,7 @@ func ExampleDecode() {
// Hello Gopher!
}
func ExampleDecodedString() {
func ExampleDecodeString() {
const s = "48656c6c6f20476f7068657221"
decoded, err := hex.DecodeString(s)
if err != nil {