Documentation ¶
Overview ¶
Package config implements utility routines for populating and managing configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFromEnvironment ¶
Environment variable keys are determined by converting the key reference to upper snake case, splitting on any words or child references. eg.
FooBar.Baz -> FOO_BAR_BAZ
Basic data types can also be used by populating the prefix argument to match the exact corresponding environment variable key name.
func MustLoadFromEnvironment ¶
MustLoadFromEnvironment behaves the same as LoadFromEnvironment but will panic instead of returning any errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.