您可以使用 break 语句重写 for2.go 的代码: 示例 5.10 [for3.go](https://github.com/Unknwon/the-way-to-go_ZH_CN/blob/master/eBook/examples/chapter_5/for3.go): ~~~ fo

评论区

登录 后参与评论
× Preview