Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Production = false
Production should be set to true in production environment.
Functions ¶
func RenderTemplate ¶
RenderTemplate renders the email into its template with context.
Types ¶
type Context ¶
type Context map[string]interface{}
Context defines a simple list of string:value pairs for mail templates.
type Email ¶
type Email struct { Recipients []string ReplyTo string Subject string Body string Template string Layout string }
Email represents an email to be sent.
Click to show internal directories.
Click to hide internal directories.