Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTemplateNotFound = fmt.Errorf("template not found")
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Email ¶
type Email struct { Header textproto.MIMEHeader Text []byte HTML []byte Attachments []Attachment }
func EvaluateEmail ¶
type StaticFiles ¶
type StaticFiles struct {
// contains filtered or unexported fields
}
func (*StaticFiles) Attachments ¶
func (sf *StaticFiles) Attachments() map[string]Attachment
func (*StaticFiles) ResetAttachments ¶
func (sf *StaticFiles) ResetAttachments()
type TemplateTest ¶
type TemplateTest struct {
Data interface{}
}
Click to show internal directories.
Click to hide internal directories.