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

Adding support for _FILE fallback to env.Getenv function #181

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

hairyhenderson
Copy link
Owner

This adds support for an optional <envvar>_FILE fallback when <envvar> is unset. The path in <envvar>_FILE is returned as the value.

/cc @stuart-c

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson force-pushed the add-getenvfile-functionality branch from ee7a7cf to b895f72 Compare August 1, 2017 15:40
@hairyhenderson hairyhenderson merged commit f1339b8 into master Aug 1, 2017
@hairyhenderson hairyhenderson deleted the add-getenvfile-functionality branch August 1, 2017 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant