1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-27 08:30:57 +02:00

rename ExampleMyKey

This commit is contained in:
Davor Kapsa 2019-01-10 17:51:25 +01:00
parent d05f387f50
commit ae4c002f78

View File

@ -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))