mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-19 03:50:11 +08:00
modified: eBook/18.2.md
modified: eBook/18.3.md modified: eBook/18.4.md modified: eBook/directory.md
This commit is contained in:
@@ -12,7 +12,7 @@ for key, value := range map1 {
|
||||
}
|
||||
```
|
||||
|
||||
(2)如何在一个映射中检测键key1是否存在:
|
||||
(2)如何在一个映射中检测键`key1`是否存在:
|
||||
|
||||
`val1, isPresent = map1[key1]`
|
||||
|
||||
|
Reference in New Issue
Block a user