Loop Init, Condition, Post
As you're learning Go, a good quick reference is Go by Example.
For example, here's what it has for for
package main
import "fmt"
func main() {
i := 1
for i <= 3 {
fmt.Println(i)
i = i + 1
}
for j := 7; j <= 9; ...
blog.cloudnativefolks.org1 min read