Documentation
¶
Index ¶
Constants ¶
View Source
const ( DebugKey = "debug" UsernameKey = "username" PasswordKey = "password" ImagesKey = "images" )
These constants represent the keys used to setup the configuration. They are used to access its values using viper.Get.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config has the configurations for the application. It's initialized with ReadConfig().
func ReadConfig ¶
ReadConfig wraps viper.ReadInConfig, but guarantees to setup Viper before reading the config file.
Click to show internal directories.
Click to hide internal directories.