Hacker News new | ask | show | jobs
by int_19h 403 days ago
The problem is that idiomatic Go reuses err for multiple calls. So if you already have one call and check err after, it counts as used, and forgetting to check it on subsequent calls is not flagged.