Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig(config *Config)
Types ¶
type Config ¶
type Config struct { Prompt string `yaml:"prompt"` Default string `yaml:"default"` Commands []struct { Command string `yaml:"command"` Response string `yaml:"response"` Color string `yaml:"color"` Delay int `yaml:"delay"` Responses []struct { Response string `yaml:"response"` Color string `yaml:"color"` Delay int `yaml:"delay"` } `yaml:"responses"` } `yaml:"commands"` }
Click to show internal directories.
Click to hide internal directories.