com_github_cockroachdb_cockroach/

directory
v0.0.0-...-785df0d Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0

README

Cockroach DB - Linter Passes

This directory contains some linter passes we use in our nogo execution. Everything is based on v22.1.6, with a BSL change date of 2025-04-01 and is therefore license under Apache 2.0.

Directories

Path Synopsis
Package errcmp defines an Analyzer which checks for usage of errors.Is instead of direct ==/!= comparisons.
Package errcmp defines an Analyzer which checks for usage of errors.Is instead of direct ==/!= comparisons.
Package hash defines an Analyzer that detects correct use of hash.Hash.
Package hash defines an Analyzer that detects correct use of hash.Hash.
Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons.
Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons.
Package passesutil provides useful functionality for implementing passes.
Package passesutil provides useful functionality for implementing passes.
Package returnerrcheck defines an suite of Analyzers that detects conditionals which check for a non-nil error and then proceed to return a nil error.
Package returnerrcheck defines an suite of Analyzers that detects conditionals which check for a non-nil error and then proceed to return a nil error.
Package unconvert defines an Analyzer that detects unnecessary type conversions.
Package unconvert defines an Analyzer that detects unnecessary type conversions.

Jump to

Keyboard shortcuts

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