
This is a better way to check errors, both semantically (no usually nil is bad, but nil error is good, so this avoids a mental negation) and for the reporting by the assert package.
This is a better way to check errors, both semantically (no usually nil is bad, but nil error is good, so this avoids a mental negation) and for the reporting by the assert package.