Skip to content

Commit

Permalink
fix: close db in example (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Apr 19, 2024
1 parent a8af76a commit 2f85daf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func run() error {
if err != nil {
return err
}
defer db.Close()

fmt.Println("Packages:")
for _, pkg := range pkgList {
Expand Down

0 comments on commit 2f85daf

Please sign in to comment.