Skip to content

Glossary: Algorithms Beyond the Basics in Go

Nil map

Also written: assignment to entry in nil map

A map declared with `var` but never made. Reading it works, but writing to it panics, so create it with `make` or `map[K]V{}`.

Where the book teaches it

Related terms

Comma-ok