Skip to content

Commit c35a79d

Browse files
ashhadsheikhgagantrivedi
authored andcommitted
Update code sample
1 parent f920cc8 commit c35a79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import (
5454
)
5555

5656
func recordStats(db *sql.DB, userID, productID int64) (err error) {
57-
tx, err = db.Begin()
57+
tx, err := db.Begin()
5858
if err != nil {
5959
return
6060
}

0 commit comments

Comments
 (0)