1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-06-24 21:56:48 +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

View File

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