For is Go's "while"
Once you drop the init and post, you can drop the semicolons too. What you’re left with is Go’s version of while — except it’s still called for.
C’s while is spelled for in Go. Same idea, cleaner syntax, one less keyword to remember.