[feature] add new mock client
This commit is contained in:
16
internal/pkg/mail/mail.go
Normal file
16
internal/pkg/mail/mail.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package mail
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/google/uuid"
|
||||
|
||||
"base/pkg/email"
|
||||
)
|
||||
|
||||
func (c client) Send(ctx context.Context, params email.Request) (*email.Response, error) {
|
||||
return &email.Response{
|
||||
ID: uuid.NewString(),
|
||||
Status: "Success",
|
||||
}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user