Documentation
¶
Index ¶
Constants ¶
View Source
const (
ErrConfigNotSupportedProtocol = "ConfigNotSupportedProtocol"
)
Variables ¶
This section is empty.
Functions ¶
func ViperAddArgument ¶
ViperAddArgument provides a data driven way to add cli arguments
func ViperAddArguments ¶
ViperAddArguments allows you to pass in many argument configs
func ViperConfig ¶
ViperConfig will help configure a project. This includes setting the environment variable prefix, plus the default config file name. For example:
cli.ViperConfig("ears")
Types ¶
type ConfigError ¶
type ConfigError struct {
Err error
// contains filtered or unexported fields
}
func (ConfigError) Error ¶
func (c ConfigError) Error() string
func (ConfigError) Path ¶
func (c ConfigError) Path() string
func (*ConfigError) Unwrap ¶
func (c *ConfigError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.