Replies: 1 comment
-
|
Not at the moment. You could try using A workaround I'd try is loading env vars from the file using some dotenv tooling. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
In the "Working with environment variables" section there is this example.
If I want to work with a config file, let's say
dev.envthat contains variables that have the same prefix "spf". Is there a way to get those config variables without specifying "SPF" in the call toGet?For example with this file
I would have to call
userId := Get("spf_user_id")instead of just callingGet(user_id)Beta Was this translation helpful? Give feedback.
All reactions