mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 02:16:48 +08:00
05.0.md
This commit is contained in:
9
eBook/examples/chapter_5/for1.go
Normal file
9
eBook/examples/chapter_5/for1.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
for i := 0; i < 5; i++ {
|
||||
fmt.Printf("This is the %d iteration\n", i)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user