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.
2 parents c05e0c0 + 314ebd6 commit 3f9954fCopy full SHA for 3f9954f
README.md
@@ -37,12 +37,16 @@ See implementation examples:
37
- [blog API server](https://github.com/DATA-DOG/go-sqlmock/tree/master/examples/blog)
38
- [the same orders example](https://github.com/DATA-DOG/go-sqlmock/tree/master/examples/orders)
39
40
-### Something you may want to test
+### Something you may want to test, assuming you use the [go-mysql-driver](https://github.com/go-sql-driver/mysql)
41
42
``` go
43
package main
44
45
-import "database/sql"
+import (
46
+ "database/sql"
47
+
48
+ _ "github.com/go-sql-driver/mysql"
49
+)
50
51
func recordStats(db *sql.DB, userID, productID int64) (err error) {
52
tx, err := db.Begin()
0 commit comments