refactor: update app instance structure to include both mailserver and logger
This commit is contained in:
@ -15,8 +15,8 @@ type Email interface {
|
||||
Send()
|
||||
}
|
||||
|
||||
func NewSmtpServer(Host string, Port int, User string, Password string) *SmtpServer {
|
||||
return &SmtpServer{
|
||||
func NewSmtpServer(Host string, Port int, User string, Password string) SmtpServer {
|
||||
return SmtpServer{
|
||||
Host: Host,
|
||||
Port: Port,
|
||||
User: User,
|
||||
|
Reference in New Issue
Block a user