Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶ added in v1.4.3
GetConfigPath returns the full path for the configuration file.
func LoadConfig ¶
func Save ¶ added in v1.4.3
func Save() error
Save persists the current Viper configuration to the user's config file. It unmarshals the current state into the Config struct to ensure the file structure (e.g., nested database keys) is preserved.
func WriteConfigFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.