Simple form using one variable:
for i := 0; i < 10; i++ {
fmt.Print(i, " ")
}
Using two variables (or more):
for i, j := 0, 0; i < 5 && j < 10; i, j = i+1, j+2 {
fmt.Println(i, j)
}
Without using initialization statement:
i := 0
for ; i < 10; i++ {...