``` package main import ( "fmt" ) func main() { // while a := 0 for a < 5 { fmt.Println("while ", a) a++ } // for for i := 0; i < 5; i++ { fmt.Println("for ", i) } // 死循环 (除非break) for { fmt.Println("hello") break } } ```