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

Expanding variable value #189

Open
kameshsampath opened this issue Jun 15, 2022 · 0 comments
Open

Expanding variable value #189

kameshsampath opened this issue Jun 15, 2022 · 0 comments

Comments

@kameshsampath
Copy link

kameshsampath commented Jun 15, 2022

Say I have .env like

MY_USERNAME=${LOCAL_DEVELOPER_USERNAME}

The LOCAL_DEVELOPER_USERNAME is host environment variable, I wish the value of that to be expanded using the host environment variable value with possible overrides if defined locally in the environment file.

Let me know if you are interested in accepting a pull for the same as I have this logic working https://github.com/kameshsampath/godotenv/blob/issue-189/godotenv.go#L339-L347

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

No branches or pull requests

1 participant