Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetValue = func(k, d string) string { if v := os.Getenv(k); v != "" { return v } return d }
GetValue retrieves the value of environment variable named by the key. It returns the value, if not then it will return the default value passed as the second parameter.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.