diff --git a/README.md b/README.md index 183f015..5d8ad35 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,16 @@ See implementation examples: - [blog API server](https://github.com/DATA-DOG/go-sqlmock/tree/master/examples/blog) - [the same orders example](https://github.com/DATA-DOG/go-sqlmock/tree/master/examples/orders) -### 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) ``` go package main -import "database/sql" +import ( + "database/sql" + + _ "github.com/go-sql-driver/mysql" +) func recordStats(db *sql.DB, userID, productID int64) (err error) { tx, err := db.Begin()