MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / extractStringValue

Function extractStringValue

agent/app/service/agents_channels.go:1461–1464  ·  view source on GitHub ↗
(value interface{})

Source from the content-addressed store, hash-verified

1459}
1460
1461func extractStringValue(value interface{}) string {
1462 text, _ := value.(string)
1463 return text
1464}
1465
1466func extractRequireMentionValue(value interface{}, defaultValue string) string {
1467 switch typed := value.(type) {

Callers 9

extractFeishuConfigFunction · 0.85
extractTelegramConfigFunction · 0.85
extractDiscordConfigFunction · 0.85
extractQQBotConfigFunction · 0.85
extractWecomConfigFunction · 0.85
extractDingTalkConfigFunction · 0.85
extractDisplayNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected