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

Update code sample

This commit is contained in:
ashhadsheikh 2020-11-02 18:02:08 +05:00 committed by gagandeep trivedi
parent f920cc853b
commit c35a79d518

View File

@ -54,7 +54,7 @@ import (
)
func recordStats(db *sql.DB, userID, productID int64) (err error) {
tx, err = db.Begin()
tx, err := db.Begin()
if err != nil {
return
}