Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads a users config and creates the config if it does not exist located at ~/.fm.yml.
Types ¶
type Config ¶
type Config struct {
Settings SettingsConfig `mapstructure:"settings"`
}
Config represents the main config for the application.
type SettingsConfig ¶
type SettingsConfig struct { StartDir string `mapstructure:"start_dir"` ShowIcons bool `mapstructure:"show_icons"` EnableLogging bool `mapstructure:"enable_logging"` EnableMouseWheel bool `mapstructure:"enable_mousewheel"` PrettyMarkdown bool `mapstructure:"pretty_markdown"` Borderless bool `mapstructure:"borderless"` Theme string `mapstructure:"theme"` SyntaxTheme string `mapstructure:"syntax_theme"` }
SettingsConfig struct represents the config for the settings.
Click to show internal directories.
Click to hide internal directories.