unparam icon indicating copy to clipboard operation
unparam copied to clipboard

Refactor to use go/analysis

Open alexandear opened this issue 2 years ago • 1 comments

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

alexandear avatar Jan 04 '24 09:01 alexandear

Patches welcome as long as nothing is broken. This API was written before go/analysis, as you might have guessed.

mvdan avatar Jan 28 '24 15:01 mvdan