
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 <=<= 9; ...
Read: https://blog.cloudnativefolks.org/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 <=<= 9; ...
Read: https://blog.cloudnativefolks.org/loop-init-condition-post