mirror of
https://github.com/json-iterator/go.git
synced 2026-06-18 20:14:33 +02:00
rename ExampleMyKey
This commit is contained in:
1 parent
d05f387f50
commit
ae4c002f78
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user