update golangci-lint version (#4817)

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

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) {