3 ms·
That's one big reason why naked returns are frowned upon. It's much easier to read code where there is a clean "return nil, fmt.Errorf(...)".
by dullgiulio 9y ago
That's one big reason why naked returns are frowned upon.
It's much easier to read code where there is a clean "return nil, fmt.Errorf(...)".