package
Version:
v0.1.0-beta
Opens a new window with list of versions in this module.
Published: Nov 17, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConfigFlags helps configure cobra and viper flags.
Init configures the global logger
type Config struct {
Level string `mapstructure:"level"`
ForceTTY bool `mapstructure:"forcetty"`
ShowLine bool `mapstructure:"line"`
}
Config configures the logger
Validate configuration is ok
Source Files
¶
Click to show internal directories.
Click to hide internal directories.