Documentation
¶
Index ¶
- func GetBool(key string) (bool, bool, error)
- func GetBoolDefault(key string, defaultValue bool) bool
- func GetConfig() (models.Config, error)
- func GetInt(key string) (int, bool, error)
- func GetIntDefault(key string, defaultValue int) int
- func GetRequiredString(key string) (string, error)
- func GetString(key string) (string, bool)
- func GetStringDefault(key, defaultValue string) string
- func IsProduction() bool
- func LoadDotEnv()
- func SaveConfig(c *models.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolDefault ¶
func GetIntDefault ¶
func GetRequiredString ¶
func GetStringDefault ¶
func IsProduction ¶
func IsProduction() bool
func LoadDotEnv ¶
func LoadDotEnv()
func SaveConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.