Use new gofumpt (#21613)

Update tinylib. Should fix CI.

`gofumpt -w .&&go generate ./...`
This commit is contained in:
Klaus Post
2025-09-28 22:59:21 +02:00
committed by GitHub
parent 456d9462e5
commit b8631cf531
171 changed files with 881 additions and 899 deletions

View File

@@ -69,7 +69,7 @@ func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
drwm3.Unlock(t.Context())
}
// fmt.Println("Write lock failed due to timeout")
return
return locked
}
func TestSimpleWriteLockAcquired(t *testing.T) {
@@ -116,7 +116,7 @@ func testDualWriteLock(t *testing.T, duration time.Duration) (locked bool) {
drwm2.Unlock(t.Context())
}
// fmt.Println("2nd write lock failed due to timeout")
return
return locked
}
func TestDualWriteLockAcquired(t *testing.T) {

View File

@@ -1,7 +1,7 @@
package dsync
// Code generated by github.com/tinylib/msgp DO NOT EDIT.
package dsync
import (
"github.com/tinylib/msgp/msgp"
)

View File

@@ -1,7 +1,7 @@
package dsync
// Code generated by github.com/tinylib/msgp DO NOT EDIT.
package dsync
import (
"bytes"
"testing"

View File

@@ -33,7 +33,7 @@ func (r *lockedRandSource) Int63() (n int64) {
r.lk.Lock()
n = r.src.Int63()
r.lk.Unlock()
return
return n
}
// Seed uses the provided seed value to initialize the generator to a