4 ms·
You must explicitly ignore errors in Go. result, _ := someFunc()
by mratzloff 10y ago
You must explicitly ignore errors in Go.
result, _ := someFunc()
- kasey_junk 10y agoNot if they are the only return value. You should use an analysis tool to avoid this but nothing about the language requires it.
- mratzloff 10y agoAh, you are right.