4 ms·
It is not difficult to accidently not check them. Like: result, err := doThing() if err != nil { return nil, err } result1, err := doSecondThing(
by qtplatypus 7y ago
It is not difficult to accidently not check them. Like:
result, err := doThing()
if err != nil {
return nil, err
}
result1, err := doSecondThing(result)
return result1, nil
Will not trigger a compile time error.