Maps in Go
This lesson gives an introduction to maps, using the map literals and mutating maps in Go
We'll cover the following
Introduction
Maps are somewhat similar to what other languages call “dictionaries” or “hashes”.
A map maps keys to values. Here we are mapping string keys (actor names) to an integer value (age).
Get hands-on with 1400+ tech skills courses.