This commit is contained in:
chai2010
2016-01-06 23:00:17 +08:00
parent ffab9a1fdb
commit 9334f66d74
2 changed files with 9 additions and 0 deletions

View File

@@ -107,3 +107,5 @@ fmt.Printf("%T\n", w) // "*bytes.Buffer"
```
在fmt包內部使用反射來獲取接口動態類型的名稱。我們會在第12章中學到反射相關的知識。
{% include "./ch7-05-1.md" %}