Skip to content

Commit 4a6036d

Browse files
committed
utils: make txStmt just a type alias
1 parent 28b00ce commit 4a6036d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type PrepareConn interface {
2828
}
2929

3030
// txStmt is a subset of [*database/sql.Tx].
31-
type txStmt interface {
31+
type txStmt = interface {
3232
StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
3333
}
3434

0 commit comments

Comments
 (0)