3 ms·
The convention is that if the err == nil then the value is not nil. The exceptions to this rule are very few and usually specified in the documentation. Normall
by leaveyou 10y ago
The convention is that if the err == nil then the value is not nil. The exceptions to this rule are very few and usually specified in the documentation. Normally you only have to check for error.
- bluejekyll 10y agoThe fact that it's a convention, and not a compiler error is the entire issue at debate here.