From d280c6c7aa849b11214b9d1807e4661eb9a1e500 Mon Sep 17 00:00:00 2001 From: Hanlei Qin Date: Fri, 1 Dec 2017 00:08:06 +0800 Subject: [PATCH] Update ch7-13.md --- ch7/ch7-13.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ch7/ch7-13.md b/ch7/ch7-13.md index 77490e5..aab7328 100644 --- a/ch7/ch7-13.md +++ b/ch7/ch7-13.md @@ -48,11 +48,11 @@ switch语句可以简化if-else链,如果这个if-else链对一连串值做相 ```go switch x.(type) { - case nil: // ... - case int, uint: // ... - case bool: // ... - case string: // ... - default: // ... +case nil: // ... +case int, uint: // ... +case bool: // ... +case string: // ... +default: // ... } ```