Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TLS_VERIFY = os.Getenv("TLS_VERIFY") == "true" DEBUG = os.Getenv("DEBUG") == "true" )
Functions ¶
func ExpandWithEnv ¶
func ExpandWithEnv(variables ...*string)
ExpandWithEnv updates string variables to their corresponding environment values. If the variables does not exist, they're set to empty strings.
func GetEnvOrDefault ¶ added in v0.0.58
GetEnvOrDefault returns the value of the environment variable or the default value if the variable is not set. in requested type.
Types ¶
Click to show internal directories.
Click to hide internal directories.