Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GetString = viper.GetString GetInt = viper.GetInt GetBool = viper.GetBool BindPFlag = viper.BindPFlag )
View Source
var FARGO_VERSION string
Functions ¶
func ConfigDir ¶
ConfigDir returns the path to the configuration directory. Defaults to "~/.fargo", or "$XDG_CONFIG_HOME/fargo" if XDG_CONFIG_HOME is set. If both paths exist, it prioritizes "$XDG_CONFIG_HOME/fargo". This function creates the path if it does not already exist.
See: https://specifications.freedesktop.org/basedir-spec/latest/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.