MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / getString

Function getString

internal/tui/dashboard.go:237–244  ·  view source on GitHub ↗
(m map[string]any, key string)

Source from the content-addressed store, hash-verified

235}
236
237func getString(m map[string]any, key string) string {
238 if v, ok := m[key]; ok {
239 if s, ok := v.(string); ok {
240 return s
241 }
242 }
243 return ""
244}
245
246func getFloat(m map[string]any, key string) float64 {
247 if v, ok := m[key]; ok {

Callers 10

renderDashboardMethod · 0.85
startEditMethod · 0.85
renderContentMethod · 0.85
handleConfirmInputMethod · 0.85
handleNormalInputMethod · 0.85
startOAuthMethod · 0.85
renderContentMethod · 0.85
renderProviderKeysFunction · 0.85
GetAuthStatusMethod · 0.85
parseConfigMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected