循环判断语句
package main import ( "fmt" ) func main() { LABLE1: for { for i := 0; i < 10; i++ { if i > 3 { break LABLE1 } } } fmt.Println("ok") }
package main import ( "fmt" ) func main() { LABLE1: for { for i := 0; i < 10; i++ { if i > 3 { break LABLE1 } } } fmt.Println("ok") }