Control the step size by changing the post statement:
for i := 0; i < 10; i += 2 {
fmt.Println(i)
}
This prints , , , , . Using i += 2 increments by each iteration. You can use any increment: i += 3, i *= 2, or any expression that moves toward the termination condition.