how can I let my code continue it's looping after encountering an error? Example:
for _, x := range y {
if err != nil {
//handle error to continue next element in loop (maybe skip this element?)
}
}
how can I let my code continue it's looping after encountering an error? Example:
for _, x := range y {
if err != nil {
//handle error to continue next element in loop (maybe skip this element?)
}
}
برچسب:
نویسنده: استخدام کار