Documentation
¶
Index ¶
- func AddConfigPath(path []string)
- func Dump(call func(key string, val any))
- func GetBool(key string, def ...bool) bool
- func GetDuration(key string, def ...time.Duration) time.Duration
- func GetInt(key string, def ...int) int
- func GetInt64(key string, def ...int64) int64
- func GetString(key string, def ...string) string
- func GetUint64(key string, def ...uint64) uint64
- func MustGetString(key string) (string, error)
- func ReadInConfig()
- func SetConfigName(name string)
- func SetConfigType(t string)
- func SetEvnPrefix(in string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConfigPath ¶
func AddConfigPath(path []string)
func MustGetString ¶
func ReadInConfig ¶
func ReadInConfig()
func SetConfigName ¶
func SetConfigName(name string)
func SetConfigType ¶
func SetConfigType(t string)
func SetEvnPrefix ¶
func SetEvnPrefix(in string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.