Skip to content

Commit

Permalink
Update load_darwin.go (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixcolors authored Oct 6, 2021
1 parent 45e4da2 commit 9f537f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/gopsutil/load/load_darwin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build darwin
// +build darwin

package load
Expand All @@ -8,9 +9,12 @@ import (
"strings"
"unsafe"

"github.com/gofiber/fiber/v2/internal/gopsutil/common"
"golang.org/x/sys/unix"
)

var invoke common.Invoker = common.Invoke{}

func Avg() (*AvgStat, error) {
return AvgWithContext(context.Background())
}
Expand Down

0 comments on commit 9f537f9

Please sign in to comment.