瀏覽代碼

rename ExampleMyKey

Davor Kapsa 7 年之前
父節點
當前提交
ae4c002f78
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))