Registry / utility / x-lint

x-lint

JSON →
library0.0.0-20241112194109-818c5a804067gogounverified

A linter for Go source code that checks for common style issues.

go get golang.org/x/lint
INSTALL
IMPORT
SIG · X-LINT
X
x-lint
utilitygov0.0.0-20241112194109-818c5a804067
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
golang.org/x/lint

Lint a Go source file.

package main import ( "golang.org/x/lint" ) func main() { l := new(lint.Linter) problems, _ := l.Lint("path/to/file.go") _ = problems }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20241112194109-818c5a804067latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
x-lint — go get x-lint · libregistry