build: update revive

And remove some unused variables.
This commit is contained in:
Vincent Bernat
2025-09-09 07:39:00 +02:00
parent ab9e7107f8
commit 31b6591e0e
8 changed files with 28 additions and 28 deletions

View File

@@ -95,7 +95,7 @@ func TestInsertMemory(t *testing.T) {
if err := conn.Do(ctx, ch.Query{
Body: input.Into("test_schema_insert"),
Input: input,
OnInput: func(ctx context.Context) error {
OnInput: func(context.Context) error {
bf.Clear()
// No more data to send!
return io.EOF