while-like for loop



examples/while/while.go
package main

import (
    "fmt"
)

func main() {
    i := 0
    for i < 5 {
        fmt.Println(i)
        i++
    }
}

0
1
2
3
4