Versions in this module Expand all Collapse all v1 v1.0.1 Apr 17, 2024 Changes in this version + func ENV() string + func GetStringTomlKeys(list []toml.Key) []string + func Load(config interface{}, files ...string) error + type Config struct + AutoReload bool + AutoReloadCallback func(config interface{}) + AutoReloadInterval time.Duration + Debug bool + ENVPrefix string + Environment string + ErrorOnUnmatchedKeys bool + FS fs.FS + Silent bool + Verbose bool + type Configor struct + func New(config *Config) *Configor + func (configor *Configor) GetEnvironment() string + func (configor *Configor) GetErrorOnUnmatchedKeys() bool + func (configor *Configor) Load(config interface{}, files ...string) (err error) + type UnmatchedTomlKeysError struct + Keys []toml.Key + func (e *UnmatchedTomlKeysError) Error() string