shirou / gopsutil

psutil for golang
Other
10.47k stars 1.58k forks source link

can't use the "disk" package #1556

Closed LiranBri closed 9 months ago

LiranBri commented 9 months ago

When I try to build with the disk package I'm getting error:

package command-line-arguments
        imports poc/scripts/qps-scenario/scenario
        imports github.com/mackerelio/go-osstat/disk: build constraints exclude all Go files in /Users/liranb/go/pkg/mod/github.com/mackerelio/go-osstat@v0.2.4/disk

is there a known issue? I tried to do

go clean -modcache

thanks