mirror of
https://github.com/golang/go
synced 2024-11-18 00:04:43 -07: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:
parent
0e435347b1
commit
4cf95fda64
@ -38,7 +38,7 @@ func ExampleDecode() {
|
||||
// Hello Gopher!
|
||||
}
|
||||
|
||||
func ExampleDecodedString() {
|
||||
func ExampleDecodeString() {
|
||||
const s = "48656c6c6f20476f7068657221"
|
||||
decoded, err := hex.DecodeString(s)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user