Update golangci-lint to v2

This commit is contained in:
世界
2025-08-13 23:37:40 +08:00
parent 043a2e7a07
commit 378e39f70c
20 changed files with 67 additions and 61 deletions
+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 {