Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
testdata
README.md
deadcode.go
deadcode_test.go

README.md

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