diff --git a/conf.go b/conf.go index 4ca95ba..dc50b50 100644 --- a/conf.go +++ b/conf.go @@ -23,10 +23,10 @@ func GetConfig() *Config { return instance } -func SetConfig(url string, name string, point string) *Config { +func SetConfig(url string, database string) *Config { instance = &Config{ MongoUrl: url, - MongoDatabase: name, + MongoDatabase: database, } return instance }