Отпрыгните обратно в внешнюю петлю
outerloop:
for i, line := range m {
for _, v := range line {
if v < 0 {
fmt.Println(v)
break outerloop
}
}
}
// Consider refactoring the nested loop into a function and use return to break out.
Mackerel