Versions in this module Expand all Collapse all v0 v0.2.0 Oct 6, 2022 Changes in this version + var ErrTemplateNotFound = errors.New("mail template not found") v0.1.0 Jan 26, 2022 Changes in this version + func Disable(t bool) + func Init(c *config.Config) error + func Send(to string, subject string, msgType string, args map[string]interface{}) error + func SetSender(s string) + type Templates struct + HTML *html.Template + Text *text.Template + func (t *Templates) RenderHTML(tname string, args map[string]interface{}) (string, error) + func (t *Templates) RenderText(tname string, args map[string]interface{}) (string, error)