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