Versions in this module Expand all Collapse all v1 v1.0.1 Aug 26, 2017 v1.0.0 Jun 18, 2017 Changes in this version + type Action struct + Button Button + Instructions string + type Body struct + Actions []Action + Dictionary []Entry + FreeMarkdown Markdown + Greeting string + Intros []string + Name string + Outros []string + Signature string + Table Table + Title string + type Button struct + Color string + Link string + Text string + type Columns struct + CustomAlignement map[string]string + CustomWidth map[string]string + type Default struct + func (dt *Default) HTMLTemplate() string + func (dt *Default) Name() string + func (dt *Default) PlainTextTemplate() string + type Email struct + Body Body + type Entry struct + Key string + Value string + type Flat struct + func (dt *Flat) HTMLTemplate() string + func (dt *Flat) Name() string + func (dt *Flat) PlainTextTemplate() string + type Hermes struct + Product Product + TextDirection TextDirection + Theme Theme + func (h *Hermes) GenerateHTML(email Email) (string, error) + func (h *Hermes) GeneratePlainText(email Email) (string, error) + type Markdown template.HTML + func (c Markdown) ToHTML() template.HTML + type Product struct + Copyright string + Link string + Logo string + Name string + TroubleText string + type Table struct + Columns Columns + Data [][]Entry + type Template struct + Email Email + Hermes Hermes + type TextDirection string + const TDLeftToRight + const TDRightToLeft + type Theme interface + HTMLTemplate func() string + Name func() string + PlainTextTemplate func() string