// EmailMiddleware allows to retrieve EmailSender
EmailMiddleware allows to retrieve EmailSender
// EmailMiddleware allows to retrieve EmailSender
func EmailMiddleware(emailSender services.EmailSender) gin.HandlerFunc {
	return func(c *gin.Context) {
		c.Set("emailSender", emailSender)
		c.Next()
	}
}
func EmailMiddleware ( emailSender services . EmailSender ) gin . HandlerFunc { return func ( c * gin . Context ) { c . Set ( " " , emailSender ) c . Next ( ) } }
EmailMiddleware allows to retrieve EmailSender
EmailMiddleware allows to retrieve EmailSender