Detects if .go
files contains multiple parameters with the same type
go install github.com/lycb/go-params-linter/cmd/go-params-linter
cd <your-go-project>
go-params-linter ./...
run with the -fix
flag to automatically merge params with the same type
-fix
flag current remove free-floating comments inside of a method- does not fix everything that was flagged from the linting
- does not recursively fix params so need to run multiple times to fix