func NewImageRepository(imgRepo imgart.ImageRepository) imgart.EffectRepository {
	return &effectRepository{
		effects: []imgart.Effect{
			effect.NewRotate(),
			effect.NewResize(),
			effect.NewOverlay(imgRepo),
			effect.NewBlur(),
			effect.NewBrightness(),
			effect.NewGamma(),
			effect.NewContrast(),
			effect.NewCrop(),
		},
	}
}
// NewImageRepository creates a memory repository for Effect entity
NewImageRepository creates a memory repository for Effect entity
// NewImageRepository creates a memory repository for Effect entity
func NewImageRepository(imgRepo imgart.ImageRepository) imgart.EffectRepository {
	return &effectRepository{
		effects: []imgart.Effect{
			effect.NewRotate(),
			effect.NewResize(),
			effect.NewOverlay(imgRepo),
			effect.NewBlur(),
			effect.NewBrightness(),
			effect.NewGamma(),
			effect.NewContrast(),
			effect.NewCrop(),
		},
	}
}
func NewImageRepository ( imgRepo imgart . ImageRepository ) imgart . EffectRepository { return & effectRepository { effects : [ ] imgart . Effect { effect . NewRotate ( ) , effect . NewResize ( ) , effect . NewOverlay ( imgRepo ) , effect . NewBlur ( ) , effect . NewBrightness ( ) , effect . NewGamma ( ) , effect . NewContrast ( ) , effect . NewCrop ( ) , } , } }
NewImageRepository creates a memory repository for Effect entity
NewImageRepository creates a memory repository for Effect entity