package
Version:
v0.0.0-...-ee4ab76
Opens a new window with list of versions in this module.
Published: Mar 17, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Checks to see if a provider is registered
Returns the value for a setting.
The setting must be in Provider:Name format
type Provider interface {
GetSetting(name string) (value any, found bool)
}
Combines 2 providers into 1.
When looking up a setting the head is checked first. If not found then the tail is checked
Creates a settings provider from a map.
A copy of the map is made
Creates a provider that has a single setting
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.