hydra-passwordless/internal/mail/provider.go
2020-04-08 08:56:42 +02:00

12 lines
233 B
Go

package mail
import "gitlab.com/wpetit/goweb/service"
func ServiceProvider(opts ...OptionFunc) service.Provider {
mailer := NewMailer(opts...)
return func(ctn *service.Container) (interface{}, error) {
return mailer, nil
}
}