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{}`.
Glossary: Algorithms Beyond the Basics in Go
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{}`.