Registry / utility / golangci-lint-1

golangci-lint-1

JSON →
library0.0.0-20191013205115-297bf364a8e0gogounverified

Provides a linter for Go source code, used by golangci-lint.

go get github.com/golangci/lint-1
INSTALL
IMPORT
SIG · GOLANGCI-LINT-1
G
golangci-lint-1
utilitygov0.0.0-20191013205115-297bf364a8e0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lint
github.com/golangci/lint-1

Lints a Go source file and prints the number of problems found.

package main import ( "fmt" "github.com/golangci/lint-1" ) func main() { l := new(lint.Linter) problems, _ := l.Lint("path/to/file.go", nil) fmt.Println(len(problems)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20191013205115-297bf364a8e0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
golangci-lint-1 — go get golangci-lint-1 · libregistry