workgroups/vendor/github.com/golangci/go-misc/deadcode
Marvin Preuss 1d4ae27878
All checks were successful
continuous-integration/drone/push Build is passing
ci: drone yaml with reusable anchors
2021-09-24 17:34:17 +02:00
..
deadcode.go ci: drone yaml with reusable anchors 2021-09-24 17:34:17 +02:00
README.md ci: drone yaml with reusable anchors 2021-09-24 17:34:17 +02:00

deadcode

deadcode is a very simple utility which detects unused declarations in a Go package.

Usage

deadcode [-test] [packages]

    -test     Include test files
    packages  A list of packages using the same conventions as the go tool

Limitations

  • Self-referential unused code is not currently reported
  • A single package can be tested at a time
  • Unused methods are not reported