Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
func Save ¶
func Save(cfg *UserConfig) error
Types ¶
type PresetEntry ¶
type PresetEntry struct {
TLDs []string `toml:"tlds"`
}
type UserConfig ¶
type UserConfig struct {
Presets map[string]PresetEntry `toml:"presets"`
}
func Load ¶
func Load() (*UserConfig, error)
Click to show internal directories.
Click to hide internal directories.