Selaa lähdekoodia

rename ExampleMyKey

Davor Kapsa 7 vuotta sitten
vanhempi
commit
ae4c002f78
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      example_test.go

+ 1 - 1
example_test.go

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