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

Function getAnyString

internal/tui/auth_tab.go:315–321  ·  view source on GitHub ↗

getAnyString converts any value to its string representation.

(m map[string]any, key string)

Source from the content-addressed store, hash-verified

313
314// getAnyString converts any value to its string representation.
315func getAnyString(m map[string]any, key string) string {
316 v, ok := m[key]
317 if !ok || v == nil {
318 return ""
319 }
320 return fmt.Sprintf("%v", v)
321}
322
323func max(a, b int) int {
324 if a > b {

Callers 2

startEditMethod · 0.85
renderDetailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected