You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #1, I realized that there are a lot of issues with using env files:
They override externally set env vars
They don't respect variables, nor do they expand tilde
While munging the env for global config is fine, doing so for app config is less fine
One fix for this is to use godotenv.Read instead of godotenv.Override. But if I already have a go implementation, it seems like a better idea to use viper to load the config - no?
The text was updated successfully, but these errors were encountered:
While working on #1, I realized that there are a lot of issues with using env files:
One fix for this is to use
godotenv.Read
instead ofgodotenv.Override
. But if I already have a go implementation, it seems like a better idea to useviper
to load the config - no?The text was updated successfully, but these errors were encountered: