We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc8ade commit c8f417eCopy full SHA for c8f417e
README.md
@@ -38,7 +38,7 @@ func Test_StuffWithTransactionInside(t *test.Testing) {
38
tx.Exec("INSERT INTO ...") // --> INSERT INTO ...
39
tx.Rollback() // --> ROLLBACK TO gotx_23456789
40
// ...
41
- tx, _ := db.Begin() // --> SAVEPOINT gotx_22256742
+ tx, _ = db.Begin() // --> SAVEPOINT gotx_22256742
42
43
tx.Commit() // --> RELEASE SAVEPOINT gotx_22256742
44
}) // --> ROLLBACK;
0 commit comments