Skip to content

Commit

Permalink
Readme: build error in test code
Browse files Browse the repository at this point in the history
err redeclared
  • Loading branch information
Pawan-Bishnoi committed May 12, 2020
1 parent 2102378 commit 5d9cd27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5d9cd27

Please sign in to comment.