Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb79bee

Browse files
committed
updated
1 parent8c96c8f commitbb79bee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎utils/email.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"bytes"
55
"crypto/tls"
66
"fmt"
7+
"html/template"
78
"log"
89
"os"
910
"path/filepath"
10-
"text/template"
1111

1212
"github.com/k3a/html2text"
1313
"github.com/wpcodevo/golang-mongodb/config"
@@ -68,7 +68,6 @@ func SendEmail(user *models.DBResponse, data *EmailData, templateName string) er
6868

6969
template=template.Lookup(templateName)
7070
template.Execute(&body,&data)
71-
fmt.Println(template.Name())
7271

7372
m:=gomail.NewMessage()
7473

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp