package
0.0.0-20191010152823-76abfc1181a7
Repository: https://github.com/lyraproj/pcore.git
Documentation: pkg.go.dev

# Functions

DefineSetting defines a new setting with a given valueType and default value.
Do executes a given function with an initialized Context instance.
DoWithParent executes a given function with an initialized Context instance.
EnvironmentLoader returns the loader that finds things declared in the environment and its modules.
Get returns a setting or calls the given defaultProducer function if the setting does not exist.
Loader returns a loader for module.
Logger returns the logger that this instance was created with.
No description provided by the author
Reset clears all settings and loaders, except the static loader.
RootContext returns a new Context that is parented by the context.Background() and is initialized with a loader that is parented by the EnvironmentLoader.
Set changes a setting.
SetLogger changes the logger.
SystemLoader returns the loader that finds all built-ins.
Try executes a given function with an initialized Context instance.
TryWithParent executes a given function with an initialized Context instance.
No description provided by the author