// SetupMongoIndexes allows to setup MongoDB index
SetupMongoIndexes allows to setup MongoDB index
// SetupMongoIndexes allows to setup MongoDB index
func (a *API) SetupMongoIndexes() error {
	return nil
}
func ( a * API ) SetupMongoIndexes ( ) error { return nil }
SetupMongoIndexes allows to setup MongoDB index
SetupMongoIndexes allows to setup MongoDB index
/*database := a.MongoDatabase

	// Creates a list of indexes to ensure
	collectionIndexes := make(map[*mgo.Collection][]mgo.Index)

	// User indexes
	users := database.C(models.UsersCollection)
	collectionIndexes[users] = []mgo.Index{
		{
			Key:    []string{"email"},
			Unique: true,
		},
	}

	for collection, indexes := range collectionIndexes {
		for _, index := range indexes {
			err := collection.EnsureIndex(index)

			utils.CheckErr(err)
		}
	}*/