for i:=0;i<5;i++ { for j:=0;j<5;j++ { if j>3 { goto GOBREAK } fmt.Printf("current i=%d,j=%d \n",i,j) } } GOBREAK: fmt.Printf("goto end ---------------")
current i=0,j=0 current i=0,j=1 current i=0,j=2 current i=0,j=3 goto end ---------------