mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-03-19 20:57:50 +02:00
Readme: build error in test code
err redeclared
This commit is contained in:
parent
210237807c
commit
5d9cd27675
@ -49,7 +49,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func recordStats(db *sql.DB, userID, productID int64) (err error) {
|
func recordStats(db *sql.DB, userID, productID int64) (err error) {
|
||||||
tx, err := db.Begin()
|
tx, err = db.Begin()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user