mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
拼写错误
This commit is contained in:
@@ -46,7 +46,7 @@ func main() {
|
||||
map1["Washington"] = 25
|
||||
value, isPresent = map1["Beijing"]
|
||||
if isPresent {
|
||||
fmt.Printf("The value of \"Beijin\" in map1 is: %d\n", value)
|
||||
fmt.Printf("The value of \"Beijing\" in map1 is: %d\n", value)
|
||||
} else {
|
||||
fmt.Printf("map1 does not contain Beijing")
|
||||
}
|
||||
|
Reference in New Issue
Block a user