Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
database/sql: close Rows if Conn is closed #33938
What version of Go are you using (
I'm not sure this is a problem, much less fixable.
maybe Conn.Close could ensure any rows are also closed.
... until your unit tests mysteriously stop working (and don't report deadlock because of httptest.Server running in parallel).
Another approach might be to include some stronger wording in the documentation. Instead of