/usr/share/gocode/src/github.com/shirou/gopsutil/load/load_windows.go is in golang-github-shirou-gopsutil-dev 2.17.08-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | // +build windows
package load
import (
"github.com/shirou/gopsutil/internal/common"
)
func Avg() (*AvgStat, error) {
ret := AvgStat{}
return &ret, common.ErrNotImplementedError
}
func Misc() (*MiscStat, error) {
ret := MiscStat{}
return &ret, common.ErrNotImplementedError
}
|