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
You can get the information and remove the hardcoded "unknown" in this way:
arch := os.Getenv("PROCESSOR_ARCHITECTURE") gio := &GoInfoObject{Kernel:"windows",Core:ver,Platform:arch,OS:"windows",GoOS:runtime.GOOS,CPUs:runtime.NumCPU()}
The text was updated successfully, but these errors were encountered:
Wouldn't be enough storing runtime.GOARCH into the struct?
runtime.GOARCH
Sorry, something went wrong.
Fixed with #15 (detecting platform) and also detecting Windows version number in #17.
No branches or pull requests
You can get the information and remove the hardcoded "unknown" in this way:
The text was updated successfully, but these errors were encountered: