cockroach: github.com/cockroachdb/cockroach/pkg/testutils/lint Index | Files | Directories

package lint

import "github.com/cockroachdb/cockroach/pkg/testutils/lint"

Package lint tests Go code for policy and style violations, as well as detecting suspicious constructs that are typically bugs.

Index

Package Files

lint.go

Directories

PathSynopsis
passes/hashPackage hash defines an Analyzer that detects correct use of hash.Hash.
passes/timerPackage timer defines an Analyzer that detects correct use of timeutil.Timer.
passes/unconvertPackage unconvert defines an Analyzer that detects unnecessary type conversions.

Updated 2019-09-15. Refresh now. Tools for package owners.