getStr() — graph2md Function Reference
Architecture documentation for the getStr() function in main.go from the graph2md codebase.
Entity Profile
Dependency Diagram
graph TD 1a1d5ca6_82ee_dda2_e5fa_33bf55491e75["getStr()"] 19d7285e_2dbf_69a0_6ada_b2031521fd4e["main.go"] 1a1d5ca6_82ee_dda2_e5fa_33bf55491e75 -->|defined in| 19d7285e_2dbf_69a0_6ada_b2031521fd4e b8c81770_53e9_c49f_8a64_ee57b9b3bb27["main()"] b8c81770_53e9_c49f_8a64_ee57b9b3bb27 -->|calls| 1a1d5ca6_82ee_dda2_e5fa_33bf55491e75 cb1308f3_ccc9_2add_e151_a235170fc89b["generateSlug()"] cb1308f3_ccc9_2add_e151_a235170fc89b -->|calls| 1a1d5ca6_82ee_dda2_e5fa_33bf55491e75 style 1a1d5ca6_82ee_dda2_e5fa_33bf55491e75 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
main.go lines 2164–2174
func getStr(m map[string]interface{}, key string) string {
v, ok := m[key]
if !ok {
return ""
}
s, ok := v.(string)
if !ok {
return ""
}
return s
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getStr() do?
getStr() is a function in the graph2md codebase, defined in main.go.
Where is getStr() defined?
getStr() is defined in main.go at line 2164.
What calls getStr()?
getStr() is called by 2 function(s): generateSlug, main.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free