mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:11:36 +08:00
修复与更正 (#337)
* Update 06.4.md 标点符号错误 * Update 06.5.md * Update 06.6.md * Update 06.8.md 修正上一节目录索引错误 * Update 06.8.md * Update 07.0.md * Update 07.1.md * Update 07.6.md 用词不统一 * Update 08.0.md * Update 08.6.md 用词不统一 * Update 09.0.md * Update 09.5.md 修改不通顺 * 拼写错误 [建议加上`git remote -v`](https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/) * Update 10.0.md * 统一风格 * 调整位置,保证最后一行可以输出 * 保证最后一行可以输出 * 格式 * markdown 修改
This commit is contained in:
@@ -11,7 +11,7 @@ outside function body`),但可以被赋值于某个变量,即保存函数
|
||||
|
||||
```go
|
||||
func() {
|
||||
sum = 0.0
|
||||
sum := 0.0
|
||||
for i := 1; i <= 1e6; i++ {
|
||||
sum += i
|
||||
}
|
||||
@@ -96,5 +96,5 @@ func main() {
|
||||
## 链接
|
||||
|
||||
- [目录](directory.md)
|
||||
- 上一节:[递归函数](06.6.md)
|
||||
- 上一节:[将函数作为参数](06.7.md)
|
||||
- 下一节:[应用闭包:将函数作为返回值](06.9.md)
|
||||
|
Reference in New Issue
Block a user