Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigDir string
View Source
var ConfigName string = "edith"
View Source
var ConfigPath string
View Source
var ConfigType string = "json"
Functions ¶
func EnsureFileExists ¶
EnsureFileExists creates a file if it does not exist
func FileExists ¶
FileExists function, used to look for existing config file
func ReadLocalConfig ¶
function to read in the local configuration
func WriteLocalConfig ¶
func WriteLocalConfig()
function to write the configuration in viper memory to the local config file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.