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 47b7684 commit e759b13Copy full SHA for e759b13
models/db/context.go
@@ -96,8 +96,7 @@ type Committer interface {
96
}
97
98
// halfCommitter is a wrapper of Committer.
99
-// It can be closed early, but can't be committed early.
100
-// It is useful for passing committer to another function to use the transaction.
+// It can be closed early, but can't be committed early, it is useful for reusing a transaction.
101
type halfCommitter struct {
102
Committer
103
0 commit comments