Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ getFlagName
Function
getFlagName
pkg/controller/function/options.go:39–44 ·
view source on GitHub ↗
(prefix, flagName string)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
getFlagName(prefix, flagName string) string {
40
if
prefix ==
""
{
41
return
flagName
42
}
43
return
fmt.Sprintf(
"%s-%s"
, prefix, flagName)
44
}
Callers
1
AddFlags
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected