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
|
||||
}
|
||||
|
||||
func ExampleMapKey() {
|
||||
func ExampleMyKey() {
|
||||
hello := MyKey("hello")
|
||||
output, _ := Marshal(map[*MyKey]string{&hello: "world"})
|
||||
fmt.Println(string(output))
|
||||
|
Loading…
Reference in New Issue
Block a user