Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
Read reads the environment variables using lookupEnv function and assigns values to the Holder struct. If lookupEnv is not provided, os.LookupEnv is used. There are the following struct tags: - env:"-" - skips field - env:"NAME" - sets environment name to look for - prefix:"NAME" - sets prefix for embedded structs Types can implement the following interfaces to support custom values: - encoding.TextUnmarshaler - encoding.BinaryUnmarshaler - json.Unmarshaler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.