Created
June 21, 2018 06:41
-
-
Save GivenZeng/4cebb29f6b4c2d9bcdd3ebc22c885714 to your computer and use it in GitHub Desktop.
golang contine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
LOOP_TEST: | |
for j := 1; j < 3; j += 1 { | |
fmt.Println("loop1") | |
for i := 1; i < 3; i = i + 1 { | |
fmt.Println("loop2") | |
continue LOOP_TEST | |
fmt.Println("vim-go") | |
} | |
} | |
fmt.Println("after continue") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment