Skip to content
New issue

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

os: Getenv documentation update to point user to os.LookupEnv #16782

Closed
techtonik opened this issue Aug 18, 2016 · 3 comments
Closed

os: Getenv documentation update to point user to os.LookupEnv #16782

techtonik opened this issue Aug 18, 2016 · 3 comments

Comments

@techtonik
Copy link

@techtonik techtonik commented Aug 18, 2016

go 1.5 adds os.LookupEnv (#9676)

But it is not sufficiently described on the web, e.g.
https://gobyexample.com/environment-variables

It will valuable to add reference to it to os.Getenv
documentation https://golang.org/pkg/os/#Getenv

@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz bradfitz commented Aug 18, 2016

@techtonik

This comment has been minimized.

Copy link
Author

@techtonik techtonik commented Aug 18, 2016

Thanks. I would fix it myself if that was possible to edit on GitHub, but setting up the whole toolchain with Gerrit will probably take too much time for such a small change.

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Aug 18, 2016

CL https://golang.org/cl/27322 mentions this issue.

@gopherbot gopherbot closed this in 55ea153 Aug 19, 2016
@golang golang locked and limited conversation to collaborators Aug 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.