tromars@feddit.de to Programmer Humor@lemmy.ml · 2 years agoIdeas for programming rizz?i.imgur.comexternal-linkmessage-square239linkfedilinkarrow-up12.04Karrow-down139
arrow-up12Karrow-down1external-linkIdeas for programming rizz?i.imgur.comtromars@feddit.de to Programmer Humor@lemmy.ml · 2 years agomessage-square239linkfedilink
minus-squarenickwitha_k (he/him)@lemmy.sdf.orglinkfedilinkarrow-up4·2 years agoIdiomatic Go way of checking for the presence of a key in a map.
if ok { return true } else { return false }
Why?
Idiomatic Go way of checking for the presence of a key in a map.