2 ms·
You cannot ignore the error return value in Go. If you would think a bit more broadly, you might also see this so that all the error handling code is visible,
by dscrd 14y ago
You cannot ignore the error return value in Go.
If you would think a bit more broadly, you might also see this so that all the error handling code is visible, explicit and right there with the actual logic, and not hidden away what might be (and often is) multiple layers of modules.