Versions in this module Expand all Collapse all v1 v1.0.0 Mar 24, 2023 Changes in this version + var ExpanderPattern = regexp.MustCompile("\\$\\{[^\\$]+\\}") + func Expand(original map[string]interface{}) (result map[string]interface{}) + func Flattening(val map[string]interface{}) map[string]interface + func Get(key string, v interface{}) error + func GetInt(key string) int + func GetString(key string) string + func Merge(override map[string]interface{}, source map[string]interface{}) + func Prefix() string + func Register(src source.ConfigSource) + func Reload() error + func SetConfig(c *Config) + type Config struct + KeyMap *sync.Map + func GetDefault() *Config + func New(configSource string) *Config + func NewDefault() *Config + func (c *Config) Initialize() error + func (c *Config) ParseAndSetSourePath(configSource string) Other modules containing this package github.com/NetEase-Media/easy-ngo