generated from VLADIMIR/template
add email sender and send email with password
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package email_sender
|
||||
|
||||
import "context"
|
||||
|
||||
type Message struct {
|
||||
To string
|
||||
Subject string
|
||||
Body string
|
||||
}
|
||||
|
||||
type IEmailSender interface {
|
||||
Send(ctx context.Context, message Message) error
|
||||
}
|
||||
Reference in New Issue
Block a user