go jump back to an outer loop
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.
go jump back to an outer loop
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.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us