Formatting some sample code (#529)

* Update 01.2.md

删除:
- 不支持断言

* Formatting 问题5.1 code

* Formatting 问题5.3 code

* Correct the translation

- correct `令 v := map1[key1] 可以将 key1 对应的值赋值为 v` to `令 v := map1[key1] 可以将 key1 对应的值赋值给 v`
This commit is contained in:
Grenade
2018-07-24 19:36:39 +08:00
committed by 无闻
parent e3890e1115
commit 65898791c8
3 changed files with 22 additions and 11 deletions

View File

@@ -87,7 +87,7 @@ for { //since there are no checks, this is an infinite loop
if i >= 3 { break }
//break out of this for loop when this condition is met
fmt.Println("Value of i is:", i)
i++;
i++
}
fmt.Println("A statement just after for loop.")
```