Documentation ¶
Index ¶
- func EnvBool(key string) (value bool)
- func EnvFloat(key string) (value float64)
- func EnvInt(key string) (value int64)
- func LoadJsonConfig(dirs, filenames []string, v any) (loaded bool)
- func Merge[T any](values ...T) (merged T)
- func SetConfigNames(name ...string)
- func SetConfigPaths(paths ...string)
- func SetDefault(defaultValue any)
- type Format
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJsonConfig ¶
func SetConfigNames ¶
func SetConfigNames(name ...string)
func SetConfigPaths ¶
func SetConfigPaths(paths ...string)
func SetDefault ¶
func SetDefault(defaultValue any)
Types ¶
Click to show internal directories.
Click to hide internal directories.