package
0.0.0-20200526015148-b343531734ec
Repository: https://github.com/fakorede/learning-golang.git
Documentation: pkg.go.dev
# README
FOR Statement
The FOR statement is the only loop statement in GO. The FOR statement repeats a block of code as long as its condition is true.
Example
var sum int
for i := 1; i <= 5; i++ {
sum += i
}
fmt.Println(sum)
Explanation
Usage
go run main.go