Skip to content
Branch: master
Find file History
Rémy Oudompheng
Rémy Oudompheng deadcode: Fix and simplify parsing of arguments.
Sort output by token position.
Latest commit 0937b77 Jan 7, 2017


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


deadcode [-test] [packages]

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


  • Self-referential unused code is not currently reported
  • A single package can be tested at a time
  • Unused methods are not reported
You can’t perform that action at this time.