lint: remove embedded field that's unnecessary
This commit is contained in:
parent
12e9599c15
commit
1f7b4cede2
1 changed files with 1 additions and 1 deletions
2
db/tx.go
2
db/tx.go
|
|
@ -20,7 +20,7 @@ type Tx struct {
|
|||
}
|
||||
|
||||
func (txn Tx) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) {
|
||||
result, err := txn.Tx.Exec(ctx, query, args...)
|
||||
result, err := txn.Exec(ctx, query, args...)
|
||||
if err != nil {
|
||||
return Result{}, fmt.Errorf("exec: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue