package main import "fmt" func main() { LOOP: for i := 0; i < 5; i++ { for j := 0; j < 5; j++ { fmt.Println(i, j) if i+j == 3 { break LOOP } } } }