Skip to content

Commit

Permalink
utils: make txStmt just a type alias
Browse files Browse the repository at this point in the history
  • Loading branch information
dolmen committed Mar 19, 2024
1 parent 28b00ce commit 4a6036d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type PrepareConn interface {
}

// txStmt is a subset of [*database/sql.Tx].
type txStmt interface {
type txStmt = interface {
StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
}

Expand Down

0 comments on commit 4a6036d

Please sign in to comment.