Skip to content

Commit

Permalink
Add map notes and modify the repo directory
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychhsu committed Mar 25, 2019
1 parent b7c3ec9 commit 934d1e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions md_files/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ var m = map[string]Vertex{
"Google": {37.42202, -122.08408},
}
```
If the required key is not in the map, the map will return 0.

**Mutating Map** <br />
We can use `ele, ok` to get element. If the key is not there, `ok` will be `False`.
Expand Down
File renamed without changes.

0 comments on commit 934d1e6

Please sign in to comment.