diff --git a/g/os/gcfg/gcfg.go b/g/os/gcfg/gcfg.go index 6b12987e7..006dc2e67 100644 --- a/g/os/gcfg/gcfg.go +++ b/g/os/gcfg/gcfg.go @@ -438,7 +438,7 @@ func (c *Config) GetToStruct(pattern string, objPointer interface{}, file...stri } // Deprecated. See Clear. -func (c *Config) Clear() { +func (c *Config) Reload() { c.jsons.Clear() }