Documentation ¶
Index ¶
- type App
- type Config
- type Email
- func (e *Email) As(sender string) *Email
- func (e *Email) Data(data interface{}) *Email
- func (e *Email) From(from string) *Email
- func (e *Email) Send(ctx context.Context) error
- func (e *Email) Template(template string) *Email
- func (e *Email) To(recipients ...string) *Email
- func (e *Email) WithSubject(subject string) *Email
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
Email describes an email to be sent
func (*Email) WithSubject ¶
WithSubject set subject
Click to show internal directories.
Click to hide internal directories.