update golangci-lint version (#4817)

This commit is contained in:
fatedier authored and GitHub committed 2025-05-27 16:46:15 +08:00
1 parent 1ced733340
commit de690a55c8
18 files changed
+172 -210

No files matched your search

+5 -3
View File
@@ -24,12 +24,14 @@ type generalTestConfigures struct {
}
func renderBindPortConfig(protocol string) string {
if protocol == "kcp" {
switch protocol {
case "kcp":
return fmt.Sprintf(`kcp_bind_port = {{ .%s }}`, consts.PortServerName)
} else if protocol == "quic" {
case "quic":
return fmt.Sprintf(`quic_bind_port = {{ .%s }}`, consts.PortServerName)
default:
return ""
}
return ""
}
func runClientServerTest(f *framework.Framework, configures *generalTestConfigures) {