Skip to content

Commit

Permalink
README: fix example for database/sql (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden authored Dec 4, 2024
1 parent 0126986 commit 506416d
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 @@ -342,7 +342,7 @@ import (
func main() {
// dsn format: "user:password@addr?dbname"
dsn := "[email protected]:3306?test"
db, _ := sql.Open(dsn)
db, _ := sql.Open("mysql", dsn)
db.Close()
}
```
Expand Down

0 comments on commit 506416d

Please sign in to comment.