Skip to content

Glossary: Go Beyond the Basics

nil map

Also written: nil

A map declared with `var m map[string]int` but never made. Writing to it panics, so create maps with `make`.

Where the book teaches it

Related terms

makerecover