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
Anything os specific (like HOME, and executable names) should get its own subpackage so we can keep that logic together and well tested
The text was updated successfully, but these errors were encountered:
Does it mean something like these if runtime.GOOS == "windows" ? Need to be changed to // +build windows flag?
if runtime.GOOS == "windows"
// +build windows
Sorry, something went wrong.
Home directory expansion and home directory determination are now done using the github.com/mitchellh/go-homedir package.
github.com/mitchellh/go-homedir
No branches or pull requests
Anything os specific (like HOME, and executable names) should get its own subpackage so we can keep that logic together and well tested
The text was updated successfully, but these errors were encountered: