lint

package
v0.0.0-...-b8ff010 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

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

Directories

Path Synopsis
passes
descriptormarshal
Package descriptormarshal defines an suite of Analyzers that detects correct setting of timestamps when unmarshaling table descriptors.
Package descriptormarshal defines an suite of Analyzers that detects correct setting of timestamps when unmarshaling table descriptors.
errcmp
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.
hash
Package hash defines an Analyzer that detects correct use of hash.Hash.
Package hash defines an Analyzer that detects correct use of hash.Hash.
nocopy
Package nocopy defines an Analyzer that detects invalid uses of util.NoCopy.
Package nocopy defines an Analyzer that detects invalid uses of util.NoCopy.
returnerrcheck
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.
timer
Package timer defines an Analyzer that detects correct use of timeutil.Timer.
Package timer defines an Analyzer that detects correct use of timeutil.Timer.
unconvert
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