unparam
unparam copied to clipboard
Refactor to use go/analysis
It'd be great if the code could be refactored to use go/analysis so that unparam can be better integrated with golangci-lint. See golangci-lint.run/contributing/new-linters and https://github.com/golangci/golangci-lint/blob/d23c35470b899af8de151db9f960a60c92bcf08a/pkg/golinters/unparam.go#L23
Patches welcome as long as nothing is broken. This API was written before go/analysis, as you might have guessed.