Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a068be commit 4241993Copy full SHA for 4241993
cli/resetpassword.go
@@ -50,6 +50,7 @@ func (*RootCmd) resetPassword() *serpent.Command {
50
if err != nil {
51
return xerrors.Errorf("dial postgres: %w", err)
52
}
53
+ defer sqlDB.Close()
54
55
db := database.New(sqlDB)
56
0 commit comments