Re:Gopher Wrangling. Effective error handling in Go
by janosdebugs on Tuesday June 20, 2023 @08:56AM
(#36403319)
You could still ignore both returned values. Go shouldn't allow ignoring returns without explicit dogsleds (underscore) at all if it were to stay "in character".
I think it's mostly an API legacy mistake. Close should probably return (bool, error).
Probably a remnant of coding in C wrt sentinel values.