Plurrrr

Sun 19 Jul 2020

Go maps: declaring and initializing

What is a Golang map? Why is it useful? How does it compare to a slice? How do you declare a map? How do you initialize a map in Go? Fear not, all these questions are answered in this friendly introduction to one of Go’s most powerful features.

Source: Go maps: declaring and initializing, an article by John Arundel.