3 ms·
> I say this because Go forces you (minus just ignoring with _) to error check; fmt.Println("foo") Where did golang force you to error check? How about (t
by apta 8y ago
> I say this because Go forces you (minus just ignoring with _) to error check;
fmt.Println("foo")
Where did golang force you to error check?
How about (taken from here: (https://www.reddit.com/r/programming/comments/ak305l/goodbye... https://www.reddit.com/r/programming/comments/ak305l/goodbye...):
r1, err := fn1()
r2, err = fn2()
if err != nil {
return err
}