Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailSender ¶
EmailSender provides an interface so we can swap out the implementation of SendEmail under tests.
type EmailService ¶
EmailService interface
func NewEmailService ¶
func NewEmailService(Emailer EmailSender) EmailService
NewEmailService is constructor
Click to show internal directories.
Click to hide internal directories.