Skip to content

Commit

Permalink
Merge pull request jmoiron#644 from maragudk/master
Browse files Browse the repository at this point in the history
Remove wrong comment in code example in readme
  • Loading branch information
jmoiron authored Jan 24, 2021
2 parents 7b5a3fc + e9dcf98 commit b840abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type Place struct {
}

func main() {
// this Pings the database trying to connect, panics on error
// this Pings the database trying to connect
// use sqlx.Open() for sql.Open() semantics
db, err := sqlx.Connect("postgres", "user=foo dbname=bar sslmode=disable")
if err != nil {
Expand Down

0 comments on commit b840abe

Please sign in to comment.