Skip to content

Conversation

MaxFedotov
Copy link

There can be cases, when our query will return error, so rows will be nil. So if we don't add if statement, we will get errors in defer rows.Close()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant