📅  最后修改于: 2022-03-11 14:55:25.052000             🧑  作者: Mango
m := map[string]float64{"pi": 3.14}
v, found := m["pi"] // v == 3.14 found == true
v, found = m["pie"] // v == 0.0 found == false
_, found = m["pi"] // found == true