@ -32,9 +32,11 @@ func GetConfig() *Config {
}
func SetConfig(url string, database string) *Config {
once.Do(func() {
instance = &Config{
MongoUrl: url,
MongoDatabase: database,
})
return instance
The note is not visible to the blocked user.