Documentation ¶
Index ¶
- func Bool(key string) bool
- func BoolDefault(key string, dv bool) bool
- func BoolMap(key string) map[string]bool
- func IntDefault(key string, dv int) int
- func IntMap(key string) map[string]int
- func LoadConfig() error
- func String(key string) string
- func StringDefault(key, dv string) string
- func StringMap(key string) map[string]string
- func Strings(key string) []string
- func StringsDefault(key string, dv []string) []string
- func Unmarshal(key string, o any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolDefault ¶ added in v0.1.1
func IntDefault ¶ added in v0.1.8
func LoadConfig ¶
func LoadConfig() error
func StringDefault ¶
func StringsDefault ¶ added in v0.1.8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.