package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Jul 5, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Load attempts to get the configuration from the provided loader(s).
It returns an error if all loaders fail.
MustLoad is like Load but panics if all loaders fail.
Decoder is used to decode the data in loaded from a file.
For example: json.Unmarshal implements this interface.
TryLoader is used to load configuration from a file or an environment variable for example.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.