mirror of https://github.com/shirou/gopsutil
refactor(process): compare error with `errors.Is`
Starting from Go 1.13, `errors.Is` is the preferable way to compare error equality [1]. [1]: https://go.dev/blog/go1.13-errors Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>pull/1453/head
parent
17fac7cbba
commit
0439039205
Loading…
Reference in New Issue