We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de7004 commit ebe7f0dCopy full SHA for ebe7f0d
unused/unused.go
@@ -41,6 +41,7 @@ type runner struct {
41
42
func (r *runner) run(pass *analysis.Pass) (interface{}, error) {
43
fmt.Println("Running unused interface analyzer")
44
+
45
excludes := strings.Split(r.exclude, ",")
46
if slices.Contains(excludes, pass.Pkg.Path()) {
47
return nil, nil
0 commit comments