Registry / utility / golang-lint

golang-lint

JSON →
library0.0.0-20190301231843-5614ed5bae6fgogounverified

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

go get github.com/golang/lint
INSTALL
IMPORT
SIG · GOLANG-LINT
G
golang-lint
utilitygov0.0.0-20190301231843-5614ed5bae6f
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/golang/lint

Lint a simple Go source string

package main import ( "fmt" "github.com/golang/lint" ) func main() { fmt.Println(lint.Lint("package main\n\nfunc main() {}")) }
Debug
Known issues
breakingThis package is deprecated in favor of golang.org/x/tools/go/analysis and staticcheck.
fix
Migrate to golang.org/x/tools/go/analysis or staticcheck.io.
affects: >=0.0.0
Upgrade
Version history
0.0.0-20190301231843-5614ed5bae6flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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