package
0.0.0-20241212192544-4710020385f1
Repository: https://github.com/hackborn/onefunc.git
Documentation: pkg.go.dev
# Functions
EnvPattern loads all env vars that match the pattern into the Settings.
EnvPrefix loads all env vars that match the prefix into the Settings.
No description provided by the author
SaveSettings saves the settings as JSON to the path.
WithEnv loads all matching env vars.
WithFS loads all files that match the pattern into the Settings.
WithKeys adds all keys in the supplied settings.
WithMap adds all keys in the supplied map.
WithSettings acts as a deep copy on src.
No description provided by the author
# Structs
Settings stores a tree of settings values, accessed via a path syntax ("path/to/value").
# Interfaces
Builder is used to add new settings during a Settings construction.
EnvMatcher is used by WithEnv to accept env vars and potentially modify the name.
# Type aliases
Option used during construction of a Settings.
No description provided by the author
No description provided by the author