Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReadingFile = errors.New("error while reading file")
View Source
var ErrSendingEmail = errors.New("error while sending email")
Functions ¶
This section is empty.
Types ¶
type EmailSender ¶
type LocalCSVReader ¶
type LocalCSVReader struct{}
type MailJetEmailSender ¶
func (MailJetEmailSender) Send ¶
func (sender MailJetEmailSender) Send(recipient, subject, body string) error
Send sends an email to recipient with the subject and body received by parameter.
Returns ErrSendingEmail if an error is produced
type S3CSVReader ¶
type S3CSVReader struct {
LocalCSVReader LocalCSVReader
}
Click to show internal directories.
Click to hide internal directories.