1
0
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:
Davor Kapsa 2019-01-10 17:51:25 +01:00
parent d05f387f50
commit ae4c002f78

View File

@ -95,7 +95,7 @@ func ExampleGet() {
// Crimson
}
func ExampleMapKey() {
func ExampleMyKey() {
hello := MyKey("hello")
output, _ := Marshal(map[*MyKey]string{&hello: "world"})
fmt.Println(string(output))