Skip to content

Commit e759b13

Browse files
committed
chore: update comments
1 parent 47b7684 commit e759b13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/db/context.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ type Committer interface {
9696
}
9797

9898
// 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.
99+
// It can be closed early, but can't be committed early, it is useful for reusing a transaction.
101100
type halfCommitter struct {
102101
Committer
103102
}

0 commit comments

Comments
 (0)