Home
Press ? for keyboard navigation
❮
3-part for loop
infinite loop
❯
while
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
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)