Update ch7-13.md

This commit is contained in:
Hanlei Qin 2017-12-01 00:08:06 +08:00 committed by GitHub
parent 9ca3fd63f0
commit d280c6c7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: // ...
}
```