Skip to content

Upgrade gopsutil from v2 to v4 - #2125

Merged
Seanstoppable merged 1 commit into
wtfutil:trunkfrom
Seanstoppable:seanstoppable-upgrade-gopsutil-v2-to-v4
Jul 23, 2026
Merged

Seanstoppable merged 1 commit into
wtfutil:trunkfrom
Seanstoppable:seanstoppable-upgrade-gopsutil-v2-to-v4

Conversation

@Seanstoppable

Copy link
Copy Markdown
Collaborator

Updates gopsutil imports in modules/resourceusage/widget.go from v2 to v4. No functional changes—APIs used have identical signatures.

Update imports in modules/resourceusage/widget.go from
github.com/shirou/gopsutil/{cpu,mem} to
github.com/shirou/gopsutil/v4/{cpu,mem}.

The APIs used (cpu.Percent, mem.VirtualMemory) have identical
signatures in v4, so no code changes beyond the import paths.
@Seanstoppable
Seanstoppable merged commit a34222d into wtfutil:trunk Jul 23, 2026
4 checks passed
@Seanstoppable
Seanstoppable deleted the seanstoppable-upgrade-gopsutil-v2-to-v4 branch July 23, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址