func GetMongoConfiguration() (mongo.Configuration, error) {
	config := mongo.Configuration{
		Database: getEnv("MONGO_DATABASE", "imgart"),
		MongoURL: getEnv("MONGO_URL", "localhost:27017"),
	}

	return config, config.Validate()
}
// GetMongoConfiguration returns the mongo configuration
GetMongoConfiguration returns the mongo configuration
// GetMongoConfiguration returns the mongo configuration
func GetMongoConfiguration() (mongo.Configuration, error) {
	config := mongo.Configuration{
		Database: getEnv("MONGO_DATABASE", "imgart"),
		MongoURL: getEnv("MONGO_URL", "localhost:27017"),
	}
	return config, config.Validate()
}
func GetMongoConfiguration ( ) ( mongo . Configuration , error ) { config := mongo . Configuration { Database : getEnv ( " " , " " ) , MongoURL : getEnv ( " " , " " ) , } return config , config . Validate ( ) }
GetMongoConfiguration returns the mongo configuration
GetMongoConfiguration returns the mongo configuration