Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigTmpl = `BaseDictDir="$HOME/dicts"
`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *ConfigStruct ConfigPath string ViperInstance *viper.Viper }
func ReadConfig ¶
func (*Config) EnsureDictsDir ¶
type ConfigStruct ¶
type ConfigStruct struct {
BaseDictDir string `toml:"BaseDictDir"`
}
Click to show internal directories.
Click to hide internal directories.