Skip to content

Commit

Permalink
golangci-lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhui committed Jan 24, 2025
1 parent 414330b commit bb51cfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func TestNewQuerierWithTxCreator(t *testing.T) {
}

func TestQuerierBaseImplementers(t *testing.T) { //nolint:revive
f := func(qb satomic.QuerierBase) {}
f := func(_ satomic.QuerierBase) {}

// Test that sql.DB implements the satomic.QuerierBase interface
f(&sql.DB{})
Expand Down
2 changes: 1 addition & 1 deletion satomicx/querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func TestNewQuerier(t *testing.T) {
}

func TestQuerierBaseImplementers(t *testing.T) { //nolint:revive
f := func(qb satomicx.QuerierBase) {}
f := func(_ satomicx.QuerierBase) {}

// Test that sqlx.DB implements the satomic.QuerierBase interface
f(&sqlx.DB{})
Expand Down
2 changes: 1 addition & 1 deletion savepointers/savepointer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Savepointer interface {
// Create returns a SQL statement that creates the named savepoint
Create(string) string
// Rollback returns a SQL statement that rollsback to the named savepoint
Rollback(string string) string
Rollback(string) string
// Release returns a SQL statement that releases the named savepoint. For SQL RDBMS that don't support releasing
// savepoints, an empty string should be returned.
Release(string) string
Expand Down

0 comments on commit bb51cfe

Please sign in to comment.