From ae203651af7c23f3fb65d7771dfd9f5535eee90d Mon Sep 17 00:00:00 2001 From: moein Date: Fri, 25 Aug 2023 04:56:05 +0430 Subject: [PATCH] Fix imports --- cpu/cpu_darwin.go | 2 ++ cpu/cpu_solaris.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/cpu/cpu_darwin.go b/cpu/cpu_darwin.go index 1450603e9..02f8505de 100644 --- a/cpu/cpu_darwin.go +++ b/cpu/cpu_darwin.go @@ -8,6 +8,8 @@ import ( "strconv" "strings" + "github.com/shoenig/go-m1cpu" + "github.com/tklauser/go-sysconf" "golang.org/x/sys/unix" ) diff --git a/cpu/cpu_solaris.go b/cpu/cpu_solaris.go index b423a0cdf..8fffb2f8d 100644 --- a/cpu/cpu_solaris.go +++ b/cpu/cpu_solaris.go @@ -9,6 +9,8 @@ import ( "sort" "strconv" "strings" + + "github.com/tklauser/go-sysconf" ) var ClocksPerSec = float64(128)