go type_error official true

panic: assignment to entry in nil map

ID: go/panic-assignment-to-entry-in-nil-map

Also available as: JSON · Markdown
80%Fix Rate
95%Confidence
0Evidence

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
1.x active

Root Cause

Writing to a map that was declared but not initialized with make(). A nil map cannot store values.

generic