Registry / testing / kisielk-errcheck

kisielk-errcheck

JSON →
library1.20.0gogounverified

Package errcheck is a tool for checking that errors are handled in Go programs.

go get github.com/kisielk/errcheck
INSTALL
IMPORT
SIG · KISIELK-ERRCHECK
K
kisielk-errcheck
testinggov1.20.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.

errcheck
github.com/kisielk/errcheck

Demonstrates that errcheck is primarily a CLI tool for error checking.

package main import ( "fmt" "github.com/kisielk/errcheck" ) func main() { // errcheck is typically used as a command-line tool, not a library. fmt.Println("Use 'errcheck ./...' from the command line.") }
Debug
Known issues
gotchaThis package is primarily a command-line tool; importing it as a library is uncommon.
fix
Use the 'errcheck' binary from the command line instead.
affects: all
Upgrade
Version history
1.20.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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