From 685a7580da92db8d9aa1968fd00df80513a4c43d Mon Sep 17 00:00:00 2001 From: htlhenry Date: Fri, 20 Jan 2017 18:35:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix switch拼写错误 --- eBook/11.4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eBook/11.4.md b/eBook/11.4.md index 09f4a20..8b446bd 100644 --- a/eBook/11.4.md +++ b/eBook/11.4.md @@ -1,6 +1,6 @@ # 11.4 类型判断:type-switch -接口变量的类型也可以使用一种特殊形式的 `swtich` 来检测:**type-swtich** (下面是示例 11.4 的第二部分): +接口变量的类型也可以使用一种特殊形式的 `switch` 来检测:**type-switch** (下面是示例 11.4 的第二部分): ```go switch t := areaIntf.(type) { @@ -74,4 +74,4 @@ func classifier(items ...interface{}) { - [目录](directory.md) - 上一节:[类型断言:如何检测和转换接口变量的类型](11.3.md) -- 下一节:[测试一个值是否实现了某个接口](11.5.md) \ No newline at end of file +- 下一节:[测试一个值是否实现了某个接口](11.5.md)