Documentation ¶
Index ¶
- func CheckKeyIsExists(key string) bool
- func GetBoolOrDefault(key string, or bool) bool
- func GetInt64OrDefault(key string, or int64) int64
- func GetIntOrDefault(key string, or int) int
- func GetStringOrDefault(key, or string) string
- func GetStringSliceOrDefault(key string, or []string) []string
- func LoadConfig(options ...Option) (err error)
- func SetConfig(key string, value interface{}) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKeyIsExists ¶
func GetBoolOrDefault ¶
func GetInt64OrDefault ¶
func GetIntOrDefault ¶
func GetStringOrDefault ¶
func GetStringSliceOrDefault ¶
func LoadConfig ¶
this function will search and load configurations
Types ¶
Click to show internal directories.
Click to hide internal directories.