mirror of
https://github.com/json-iterator/go.git
synced 2024-11-24 08:22:14 +02:00
rename ExampleMyKey
This commit is contained in:
parent
d05f387f50
commit
ae4c002f78
@ -95,7 +95,7 @@ func ExampleGet() {
|
|||||||
// Crimson
|
// Crimson
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleMapKey() {
|
func ExampleMyKey() {
|
||||||
hello := MyKey("hello")
|
hello := MyKey("hello")
|
||||||
output, _ := Marshal(map[*MyKey]string{&hello: "world"})
|
output, _ := Marshal(map[*MyKey]string{&hello: "world"})
|
||||||
fmt.Println(string(output))
|
fmt.Println(string(output))
|
||||||
|
Loading…
Reference in New Issue
Block a user