directory
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Packages

Package errcmp defines an Analyzer which checks for usage of errors.Is instead of direct ==/!= comparisons.
Package forbiddenmethod provides a general-purpose Analyzer factory to vet against calls to a forbidden method.
Package hash defines an Analyzer that detects correct use of hash.Hash.
Package leaktestcall defines an Analyzer that detects correct use of leaktest.AfterTest(t).
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 nocopy defines an Analyzer that detects invalid uses of util.NoCopy.
Package passesutil provides useful functionality for implementing passes.
Package redactcheck defines an Analyzer that checks registered redact-safe types against an allow-list.
Package returncheck defines an Analyzer that detects unused or discarded kvpb.Error objects.
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 staticcheck provides utilities for consuming `staticcheck` checks in `nogo`.
Package timer defines an Analyzer that detects correct use of timeutil.Timer.
Package unconvert defines an Analyzer that detects unnecessary type conversions.