Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseOrLogError ¶
CloseOrLogError closes the given io.Closer and logs any error.
func ConvertToStringSlice ¶ added in v0.46.5
func ConvertToStringSlice(interfaceSlice []interface{}) []string
ConvertToStringSlice helps convert interface slice to string slice.
func GetAnyBoolEnv ¶ added in v0.22.0
GetAnyBoolEnv returns the first non-empty boolean value from the environment variables.
func GetAnyStringEnv ¶ added in v0.22.0
GetAnyStringEnv returns the first non-empty string value from the environment variables.
func OrderedListFromMap ¶ added in v0.47.0
func OrderedListFromMap(inputMap map[string]interface{}) []interface{}
OrderedListFromMap generates a list from a map's values. The values are sorted based on the map's keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.