Documentation
¶
Overview ¶
package envconv contains functionality for converting between data types commonly used to represent environment variables i.e. a map[string]string and an array of strings that match the regexp ".*=.*".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrToMap ¶
ArrToMap takes an environment array of the form
["KEY1=val1", "KEY2=val2"]
and returns a corresponding map of the form
{ "KEY1": "val1", "KEY2": "val2" }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.