Documentation
¶
Overview ¶
Package stdenvcfg provides environment configuration as an fx dependency.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provide ¶
Provide configuration T as an fx dependency that parses the environment with an optional prefix.
func ProvideExplicitEnvironment ¶ added in v0.0.138
ProvideExplicitEnvironment provides env options with environment options pre-set. Useful for testing.
func ProvideNamed ¶ added in v0.0.128
ProvideNamed configuration T as an fx dependency that parses the environment with an optional prefix.
func ProvideOSEnvironment ¶ added in v0.0.138
ProvideOSEnvironment provides an Environment from the os.Environ.
Types ¶
type Environment ¶ added in v0.0.61
Environment allows providing environment variables pre-set. Useful for testing.
Click to show internal directories.
Click to hide internal directories.