Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BindOptions ¶
type BindOptions struct { AutoEnv bool // Whether to call viper.AutomaticEnv() or not. EnvPrefix string // The env prefix; calls viper.SetEnvPrefix() if not empty. AllowEmptyEnv bool // Whether to call viper.AllowEmptyEnv() or not. EnvKeyReplacer *strings.Replacer // The env key replacer; calls viper.SetEnvKeyReplacer() if not nil. }
BindOptions represents various options for binding env vars to the config.
Click to show internal directories.
Click to hide internal directories.