-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golangci-lint: add noctx, sqlclosecheck; rm redundant revive.toml #11362
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
I see that you haven't updated any README files. Would it make sense to do so? |
794fdb1
to
a547b2f
Compare
eb99719
to
7fd68b9
Compare
7fd68b9
to
2c67634
Compare
2c67634
to
d4458ba
Compare
@@ -150,6 +150,7 @@ func (o *orm) CreateBridgeType(bt *BridgeType) error { | |||
if err != nil { | |||
return err | |||
} | |||
defer stmt.Close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the no context check brings me a deep satisfaction. thanks!
This PR enables some new linters and removes an unused file.