mgechev / revive

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
https://revive.run
MIT License
4.73k stars 276 forks source link

code cleanup: replace interface{} with any #906

Closed mfederowicz closed 11 months ago

mfederowicz commented 11 months ago

cleanup related with #903

for start I saved mantioned configuration in revive.toml and run: revive -config ~/revive.toml -formatter stylish {test,rule}

cleanup made by command: gofmt -r 'interface{} -> any' -w *.go executed under test and rule directory

after cleanup, run test again and of course any warnings :)

cleanup command founded in: article

chavacava commented 11 months ago

Thank you @mfederowicz!