Documentation ¶
Index ¶
- func ConfigVar(cmd *cobra.Command, cfgFile *string)
- func InitConfig(cfgFile string, filename string) func()
- func InitStringVar(cmd *cobra.Command, lisVar *string, name string, value string, usage string)
- func LogFormatVar(cmd *cobra.Command, logLevelVar *string)
- func LogLevelVar(cmd *cobra.Command, logLevelVar *string)
- func SetupLog(logLevel string, logFormat string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitStringVar ¶
func LogFormatVar ¶
func LogLevelVar ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.