mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 05:46:15 -06:00
golint
This commit is contained in:
parent
ba1c49b7f9
commit
bf6da319f2
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ type Sender interface {
|
|||
ExecuteTemplate(templateName string, data interface{}) (string, error)
|
||||
}
|
||||
|
||||
// NewSender returns a new email Sender interface with the given configuration, or an error if something goes wrong.
|
||||
func NewSender(cfg *config.Config) (Sender, error) {
|
||||
t, err := loadTemplates(cfg)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue