Versions in this module Expand all Collapse all v0 v0.0.2 Mar 10, 2020 v0.0.1 Mar 8, 2020 Changes in this version + type Attachment struct + FileName string + Inline bool + type Config struct + AssetFS assetfs.Interface + DefaultEmailTemplate *Email + Sender SenderInterface + type Email struct + Attachments []Attachment + BCC []mail.Address + CC []mail.Address + From *mail.Address + HTML string + Headers mail.Header + ReplyTo *mail.Address + Subject string + TO []mail.Address + Text string + func (email Email) Merge(e Email) Email + type Mailer struct + func New(config *Config) *Mailer + func (mailer Mailer) Render(t Template) Email + func (mailer Mailer) Send(email Email, templates ...Template) error + type SenderInterface interface + Send func(Email) error + type Template struct + Data interface{} + Layout string + Name string + Request *http.Request + Writer http.ResponseWriter + func (tmpl Template) Funcs(funcMap template.FuncMap) Template