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
Right now I don't see any way to tell the different between an unset environment variable and one set to an empty string.
If I have a struct with pointers and use Unmarshal the members are never set to nil even if they are not present in the configs.
If I use IsSet it says that empty strings are not set.
I don't have a reliable way of getting the autogenerated names of environment variable names from AutomaticEnv() so I can't reliably check if they are set myself.
I don't know how I'm supposed to do this check. Any ideas?
The text was updated successfully, but these errors were encountered:
Right now I don't see any way to tell the different between an unset environment variable and one set to an empty string.
AutomaticEnv()
so I can't reliably check if they are set myself.I don't know how I'm supposed to do this check. Any ideas?
The text was updated successfully, but these errors were encountered: