Improve: clean code
This commit is contained in:
@ -364,6 +364,7 @@ func newConfig() *Config {
|
||||
return config
|
||||
}
|
||||
|
||||
// Instance return singleton instance of Config
|
||||
func Instance() *Config {
|
||||
once.Do(func() {
|
||||
config = newConfig()
|
||||
|
Reference in New Issue
Block a user