diff --git a/config.go b/config.go index 4a2055f..58de2ee 100644 --- a/config.go +++ b/config.go @@ -34,7 +34,7 @@ func New() Configurator { var _c *config func init() { - _c = &config{} + _c = New().(*config) } // SetConfigPath set a path to search for the config file in.