refactor: move task, error and testing utils to separte repo; apply gofumpt

This commit is contained in:
yusing
2025-09-27 13:41:50 +08:00
parent 5043ef778f
commit 6776f20332
203 changed files with 696 additions and 2800 deletions

View File

@@ -67,7 +67,7 @@ func getSchemePortByImageName(imageName string) (scheme string, port int, ok boo
if port, ok := ImageNamePortMapTCP[imageName]; ok {
return "tcp", port, true
}
return
return scheme, port, ok
}
func getSchemePortByAlias(alias string) (scheme string, port int, ok bool) {
@@ -77,5 +77,5 @@ func getSchemePortByAlias(alias string) (scheme string, port int, ok bool) {
if port, ok := AliasPortMapHTTPS[alias]; ok {
return "https", port, true
}
return
return scheme, port, ok
}