goto 语句 Go continue 语句 Go 调用函数 goto 语句 package main import "fmt" func main() { /* local variable definition */ var a int = 10 /* do loop execution */ LOOP: for a < 20 { if a == 15 { /* skip the iteration */ a = a + 1 goto LOOP } fmt.Printf("value of a: %d\n", a) a++ } } Go continue 语句 Go 调用函数