-
Notifications
You must be signed in to change notification settings - Fork 55
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
LoadOSEnvs not work #178
Comments
What is your config package version? |
|
I had the same issue but was able to find what my problem was. It seems that using @vipcxj remove the config.LoadOSEnvs(ENVS)
configuration := ConferenceConfigure{}
configure.Decode(&configuration)
print(configuration.AuthServerEnable) you should obtain @inhere I think the functionality is working correctly, just the documentation might be misleading and it would be beneficial if it would be explained more deeply what @inhere Also I've found out that using configure.Readonly in the options prevents loading of environment variables via |
@ndopj Sorry for replying so late, I gave up using config.ParseEnv and now I read the environment variables via default tag like this:
|
System (please complete the following information):
linux
[e.g. linux, macOS]1.13
[e.g.1.13
]1.1.1
[e.g.1.1.1
]Describe the bug
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: