@ -24,7 +24,11 @@ func GetConfig() *Config {
return instance
}
func SetConfig(config *Config) *Config {
instance = config
func SetConfig(url string, name string, point string) *Config {
instance = &Config{
MongoURL: url,
DCNAME: name,
DBPOINT: point,
The note is not visible to the blocked user.