Registry / utility / go-tools

go-tools

JSON →
library0.7.0gogounverified

Package tools provides static analysis tools for Go code, including the staticcheck linter.

go get honnef.co/go/tools
INSTALL
IMPORT
SIG · GO-TOOLS
G
go-tools
utilitygov0.7.0
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.

staticcheck
honnef.co/go/tools/staticcheck

Demonstrates importing staticcheck (typically used as CLI).

package main import ( "fmt" "honnef.co/go/tools/staticcheck" ) func main() { // staticcheck is typically used as a command-line tool, not as a library. fmt.Println("Use 'staticcheck' command-line tool for analysis.") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-tools — go get go-tools · libregistry