Skip to content

Commit

Permalink
remove un-necessary database.Close()
Browse files Browse the repository at this point in the history
  • Loading branch information
ladydascalie committed Apr 10, 2018
1 parent 4912188 commit 32d5f99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func main() {
if err := rootCmd.Execute(); err != nil {
log.Fatal(err)
}
database.Close()
}

var formatErr = errors.New("invalid connection string format")
Expand Down

0 comments on commit 32d5f99

Please sign in to comment.