Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentUserConfigs = []string{
"$HOME/.cleanup-files.toml",
"/home/$USER/.cleanup-files.toml",
"/Users/$USER/.cleanup-files.toml",
}
View Source
var GlobalConfigs = []string{
"/etc/cleanup-files.toml",
"/usr/local/etc/cleanup-files.toml",
}
Functions ¶
func ConfigureLogger ¶
func ConfigureLogger()
Types ¶
type GlobalConfig ¶
func ReadGlobalConfig ¶
func ReadGlobalConfig(configFile string) GlobalConfig
type UserConfig ¶
func ReadUserConfig ¶
func ReadUserConfig(configFile string) UserConfig
Click to show internal directories.
Click to hide internal directories.