style: format codebase

This commit is contained in:
krau
2026-08-11 08:47:35 +08:00
parent e49ebef977
commit 7e3e26fcf4
9 changed files with 41 additions and 50 deletions

View File

@@ -63,11 +63,9 @@ func TestUploadProgressConcurrentCallbacks(t *testing.T) {
var wg sync.WaitGroup
for uploaded := int64(1 << 20); uploaded <= total; uploaded += 1 << 20 {
uploaded := uploaded
wg.Add(1)
go func() {
defer wg.Done()
wg.Go(func() {
progress.OnUploadProgress(ctx, info, uploaded, total)
}()
})
}
wg.Wait()