Closed uubulb closed 1 month ago
Thank you for your suggestion. Yes, I completely and totally agree. I've always thought that purego is a great library for gopsutil. However, there is one problem—I don't own a mac, so I can't develop on it. I look forward to contributions from everyone!
Is your feature request related to a problem? Please describe. cgo implementions on darwin https://github.com/shirou/gopsutil/issues/66
Describe the solution you'd like
purego
has relatively good support for Darwin, perhapsgopsutil
can use it to replace currentcgo
implementations. I tried to portperCPUTimes
withpurego
and it seems working:The output values should resemble those of the
cgo
counterpart.Describe alternatives you've considered N/A
Additional context N/A