首页 > 代码库 > A Tour of Go Forever

A Tour of Go Forever

If you omit the loop condition it loops forever, so an infinite loop is compactly(简洁地;紧密地;细密地) expressed.

 

package main func main() {    for {            }}

 

A Tour of Go Forever