Looping in Go

Learn about looping in Go, its syntax, and uses.

Most languages have a few different types of loop statements: for, while, and do while. Go differs in that there is a single loop type, for, that can implement the functionality of all the loop types in other languages. In this lesson, we’ll discuss the for loop and its many uses.

Get hands-on with 1200+ tech skills courses.