Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { GetString(key string) string GetInt(key string) int GetInt64(key string) int64 GetFloat64(key string) float64 GetDuration(key string) time.Duration GetTime(key string) time.Time GetBool(key string) bool GetStringMap(key string) map[string]any GetStringMapString(key string) map[string]string GetStringMapStringSlice(key string) map[string][]string GetStringSlice(key string) []string GetIntSlice(key string) []int Get(key string) any Set(key string, value any) SetDefault(key string, value any) IsSet(key string) bool Child(key string) Provider Decode(key string, value any) error }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.