Looping Construct in Go
Go has only one looping construct, the for loop.
Basic for loop
The basic for loop has three components separated by semicolons:
init statement: i := 0 exec before 1st iteration
condition expression: i < n eval on every iteration
post statement: i...
pratikjagrut.space1 min read