Documentation
¶
Overview ¶
Singleton creational design pattern restricts the instantiation of a type to a single object. Singleton pattern represents a global state and most of the time reduces testability. http://tmrts.com/go-patterns/creational/singleton.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendEmail ¶
type SendEmail struct {
// contains filtered or unexported fields
}
SendEmail struct
func NewSendEmail ¶
func NewSendEmail(emailConf *config.EmailConfiguration) *SendEmail
NewSendEmail is constructor
Click to show internal directories.
Click to hide internal directories.