We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Error when compiling with Go 1.12:
undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
To Reproduce
package main import _ "github.com/shirou/gopsutil/process" func main() {}
Expected behavior No errors
Environment (please complete the following information):
Microsoft Windows [Version 6.1.7601]
Notes
The constant was recently added to Go (golang/sys@79a91cf), but is not yet available in the current stable version (Go 1.12).
Is this package supposed to work with Go 1.12? Otherwise please close this issue and I'll wait for Go 1.13.
The text was updated successfully, but these errors were encountered:
I don't think it's related to Go version, but to golang.org/x/sys/windows version, can you try updating it with go get -u golang.org/x/sys/windows?
golang.org/x/sys/windows
go get -u golang.org/x/sys/windows
Sorry, something went wrong.
Indeed that works. I was pretty sure those /x/ packages were part of the Go distribution. Sorry for the noise.
/x/
No problem, glad to help. See also https://github.com/golang/go/wiki/SubRepositories
No branches or pull requests
Describe the bug
Error when compiling with Go 1.12:
undefined: "golang.org/x/sys/windows".PROCESS_QUERY_LIMITED_INFORMATION
To Reproduce
Expected behavior
No errors
Environment (please complete the following information):
Microsoft Windows [Version 6.1.7601]
Notes
The constant was recently added to Go (golang/sys@79a91cf), but is not yet available in the current stable version (Go 1.12).
Is this package supposed to work with Go 1.12? Otherwise please close this issue and I'll wait for Go 1.13.
The text was updated successfully, but these errors were encountered: