title: MissingLitKey layout: article

MissingLitKey occurs when a map literal is missing a key expression.

Example:
 var _ = map[string]int{1}