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 `~/.tran/tran.yml`
Types ¶
type Config ¶
type Config struct {
Tran TranConfig `mapstructure:"config"`
}
Config represents the main config for the application.
type TranConfig ¶
type TranConfig struct {
StartDir string `mapstructure:"start_dir"`
Borderless bool `mapstructure:"borderless"`
Editor string `mapstructure:"editor"`
EnableMouseWheel bool `mapstructure:"enable_mousewheel"`
ShowUpdates bool `mapstructure:"show_updates"`
}
TranConfig struct represents the config for the config.
Click to show internal directories.
Click to hide internal directories.