Versions in this module Expand all Collapse all v2 v2.1.5 Sep 30, 2020 v2.1.4 Sep 30, 2020 Changes in this version + type Action struct + Button Button + Instructions string + InviteCode 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 + TextColor string + type Columns struct + CustomAlignment 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 + DisableCSSInlining bool + 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 Other modules containing this package github.com/123jixinyu/hermes