Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder interface { Build() (Email, error) SetToForm(form []string) Builder SetToUser(to string) Builder SetToSubject(subject string) Builder SetToBody(name string, data interface{}) Builder SetToContentType(ContextType ContextType) Builder }
func NewEmailBuilder ¶
type ContextType ¶
type ContextType string
const ( TEXT ContextType = "text/plain" HTML ContextType = "text/html" )
Click to show internal directories.
Click to hide internal directories.