Skip to content

excessive-blank-identifiers

Detect assignments that discard too many results.

Updated View as Markdown

Default severity: warning

Reports assignments containing three or more blank identifiers. Repeatedly discarding adjacent results hides a function’s contract and can conceal an important value.

Bad

value, _, _, _, err := load()

Good

value, metadata, err := load(); _ = metadata
Navigation

Type to search…

↑↓ navigate↵ selectEsc close