You must log in or register to comment.
if ok { return true } else { return false }
Why?
Idiomatic 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.