Documentation ¶
Overview ¶
Package expand implements helpers to expand shell-style variables within config files before they are parsed
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBytes ¶
FromBytes consumes a byte array and expands shell-style variable within it. os.GetEnv will be used unless a custom mapper is provided
func FromFile ¶
FromFile reads a file and expands shell-style variable within it. os.GetEnv will be used unless a custom mapper is provided
func FromReader ¶
FromReader consumes a io.Reader and expands shell-style variable within it. os.GetEnv will be used unless a custom mapper is provided
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.