SyntaxFix
Write A Post
Hire A Developer
Questions
better way here
if _, ok := dict["foo"]; ok { //do something here }