2 ms·
No it doesn't: err := foo() if err != nil {...} err = bar() // accidentally ignored err = baz() if err != nil {...}
by apta 6y ago
No it doesn't:
err := foo()
if err != nil {...}
err = bar() // accidentally ignored
err = baz()
if err != nil {...}