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

[resty-env] introduce global environment object #231

Merged
merged 3 commits into from
Jan 17, 2017
Merged

[resty-env] introduce global environment object #231

merged 3 commits into from
Jan 17, 2017

Conversation

mikz
Copy link
Contributor

@mikz mikz commented Jan 17, 2017

wraps current environment and caches calls to os.getenv

it is useful in tests to stub env and reset it on every test

@mikz mikz merged commit ada253b into master Jan 17, 2017
@mikz mikz deleted the env branch January 17, 2017 13:11
@mikz mikz removed the in progress label Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant