package
74.0.2+incompatible
Repository: https://github.com/cloudfoundry/loggregator-release.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Linter

The linter searches the codebase for code that has been identified as bad patterns.

Usage

    go run cmd/linter/main.go [--locks-only=<true|false>]
--path=<path/subpath|path/...>...

The output contains the pattern matched, the file/line number/column and a snippet of the code surrounding the matched pattern.

The flags that can be passed to the linter are:

FlagRequiredDescription
--pathYesThe directory to search in, relative to the gopath. Multiple allowed. In form '// or ___/...'
--locks-onlyYesOnly output matched patterns that include locks