Update github.com/shirou/gopsutil to v4

v4 is the latest version with bug fixes and enhancements, notably the
removal of CGO implementations on Darwin in v4.24.9 [1].

Note: Due to the library's versioning policy, v4.24.5 is the first v4
release [2].

[1]: https://github.com/shirou/gopsutil/releases/tag/v4.24.9
[2]: https://github.com/shirou/gopsutil/releases/tag/v4.24.5

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun
2025-10-31 23:14:38 +08:00
parent 1b07f5348f
commit d5455ab072
6 changed files with 19 additions and 23 deletions

View File

@@ -20,7 +20,7 @@ import (
"syscall"
"unicode/utf8"
"github.com/shirou/gopsutil/v3/process"
"github.com/shirou/gopsutil/v4/process"
"golang.org/x/sys/unix"
)