shirou / gopsutil

psutil for golang
Other
10.6k stars 1.59k forks source link

ci(lint): ensure io/ioutil replacement #1525

Closed mmorel-35 closed 1 year ago

mmorel-35 commented 1 year ago

This PR help golangci to ensure Io/outil is replaced by Io or os modules.

I noticed there was no warning for certain files which were using ioutil . It might worth extend the use of golangci on more goos and goarch?

Signed-off-by: Matthieu MOREL matthieu.morel35@gmail.com