summaryrefslogtreecommitdiffstats
path: root/devices/cpu_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'devices/cpu_linux.go')
-rw-r--r--devices/cpu_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/cpu_linux.go b/devices/cpu_linux.go
index 2368218..e4467f4 100644
--- a/devices/cpu_linux.go
+++ b/devices/cpu_linux.go
@@ -1,8 +1,8 @@
+//go:build linux
// +build linux
package devices
-// TODO gopsutil is at v3, and we're using v2. See if v3 is released and upgrade if so.
import "github.com/shirou/gopsutil/cpu"
func CpuCount() (int, error) {