go
type_error
official
true
panic: assignment to entry in nil map
ID: go/panic-assignment-to-entry-in-nil-map
80%Fix Rate
95%Confidence
0Evidence
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1.x | active | — | — | — |
Root Cause
Writing to a map that was declared but not initialized with make(). A nil map cannot store values.
generic