sk-matrix-project/app/wails/lib/system/cpu.go

11 lines
145 B
Go

package system
import (
"github.com/shirou/gopsutil/cpu"
)
func GetCpuInfo() []cpu.InfoStat {
infoStats, _ := cpu.Info()
return infoStats
}