Go break 语句 Go 嵌套 for 循环 Go continue 语句 Go break 语句 package main import "fmt" func main() { /* local variable definition */ var a int = 10 /* for loop execution */ for a < 20 { fmt.Printf("value of a: %d\n", a); a++; if a > 15 { /* terminate the loop using break statement */ break; } } } Go 嵌套 for 循环 Go continue 语句