3rf / codecoroner

tool for detecting unused functions and variables in Go source code
http://kyleerf.com
141 stars 22 forks source link

False positive: ignore unused function arguments in a function type definition #22

Open dolmen opened 6 years ago

dolmen commented 6 years ago
type set f(str string)

str should not be reported as unused as str is useful as documentation.

Note: this is a particular subcase of #21.