📌  相关文章
📜  golang map has key - Go 编程语言 - Go 编程语言代码示例

📅  最后修改于: 2022-03-11 14:44:59.277000             🧑  作者: Mango

代码示例1
if val, ok := dict["foo"]; ok {
    //do something here
}