Skip to content

Commit c8f417e

Browse files
authored
Update README.md
1 parent 7fc8ade commit c8f417e

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
@@ -38,7 +38,7 @@ func Test_StuffWithTransactionInside(t *test.Testing) {
3838
tx.Exec("INSERT INTO ...") // --> INSERT INTO ...
3939
tx.Rollback() // --> ROLLBACK TO gotx_23456789
4040
// ...
41-
tx, _ := db.Begin() // --> SAVEPOINT gotx_22256742
41+
tx, _ = db.Begin() // --> SAVEPOINT gotx_22256742
4242
tx.Exec("INSERT INTO ...") // --> INSERT INTO ...
4343
tx.Commit() // --> RELEASE SAVEPOINT gotx_22256742
4444
}) // --> ROLLBACK;

0 commit comments

Comments
 (0)