package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
GitHub GitHub `mapstructure:"github"`
Logs Logs `mapstructure:"log"`
}
Config defines the general configuration.
Load initializes a default configuration struct.
type GitHub struct {
Token string `mapstructure:"token"`
}
GitHub defines the github configuration.
type Logs struct {
Level string `mapstructure:"level"`
Pretty bool `mapstructure:"pretty"`
Color bool `mapstructure:"color"`
}
Logs defines the level and color for log configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.