1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-03-17 20:48:01 +02:00

Readme: build error in test code

err redeclared
This commit is contained in:
Pawan-Bishnoi 2020-05-12 11:39:27 +05:30
parent 210237807c
commit 5d9cd27675
No known key found for this signature in database
GPG Key ID: C47D1BC6CCC74977

View File

@ -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
}