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 -4
View File
@@ -62,10 +62,7 @@ func (s *CommandServer) handleURLTest(conn net.Conn) error {
return false
}
_, isGroup := it.(adapter.OutboundGroup)
if isGroup {
return false
}
return true
return !isGroup
})
b, _ := batch.New(serviceNow.ctx, batch.WithConcurrencyNum[any](10))
for _, detour := range outbounds {