Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfogre committed Jan 7, 2023
1 parent 47b7684 commit e759b13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions models/db/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ type Committer interface {
}

// halfCommitter is a wrapper of Committer.
// It can be closed early, but can't be committed early.
// 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.
type halfCommitter struct {
Committer
}
Expand Down

0 comments on commit e759b13

Please sign in to comment.