Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
40169f67
Commit
40169f67
authored
Aug 08, 2025
by
Vladimir Barsukov
Browse files
transaction
parent
6f2f266e
Changes
1
Hide whitespace changes
Inline
Side-by-side
zdb/tx.go
View file @
40169f67
...
...
@@ -26,6 +26,13 @@ func (d *Pool) TxNew(ctx context.Context) (*Tx, error) {
func
(
d
*
Pool
)
MustTx
()
*
Tx
{
tx
,
_
:=
d
.
TxNew
(
d
.
ctx
)
return
tx
}
func
(
d
*
Pool
)
MustTxCtx
(
ctx
context
.
Context
)
*
Tx
{
tx
,
_
:=
d
.
TxNew
(
ctx
)
return
tx
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment