Update golangci-lint to v2

This commit is contained in:
世界 committed 2025-08-13 23:37:40 +08:00
1 parent 043a2e7a07
commit 378e39f70c
20 files changed
+67 -61

No files matched your search

+1 -1
View File
@@ -271,7 +271,7 @@ func (d *DefaultDialer) DialParallelInterface(ctx context.Context, network strin
} else {
dialer = d.udpDialer4
}
fastFallback := time.Now().Sub(d.networkLastFallback.Load()) < C.TCPTimeout
fastFallback := time.Since(d.networkLastFallback.Load()) < C.TCPTimeout
var (
conn net.Conn
isPrimary bool