Merge pull request #308 from htlhenry/patch-1

fix 拼写错误
This commit is contained in:
无闻
2017-01-22 09:53:24 -05:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
# 11.4 类型判断type-switch # 11.4 类型判断type-switch
接口变量的类型也可以使用一种特殊形式的 `swtich` 来检测:**type-swtich** (下面是示例 11.4 的第二部分): 接口变量的类型也可以使用一种特殊形式的 `switch` 来检测:**type-switch** (下面是示例 11.4 的第二部分):
```go ```go
switch t := areaIntf.(type) { switch t := areaIntf.(type) {