blankassigncomma

package
v0.91.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package blankassigncomma implements a Go analysis linter that flags assignment statements where every result is discarded via blank identifiers (e.g., _, _ = f()), which is often a code smell indicating the function should be called without assignment, or a result should be checked instead of dropped.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = analyzerutil.New("blankassigncomma", "reports assignments where every result is discarded via blank identifiers, which may indicate unintended result ignoring", run)

Analyzer is the blank-assign-comma analysis pass.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL