mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-03-17 20:48:01 +02:00
Merge pull request #225 from Pawan-Bishnoi/fix_readme
Readme: build error in sample code
This commit is contained in:
commit
3b99664e4f
@ -49,7 +49,7 @@ import (
|
||||
)
|
||||
|
||||
func recordStats(db *sql.DB, userID, productID int64) (err error) {
|
||||
tx, err := db.Begin()
|
||||
tx, err = db.Begin()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user