Gofmt'ing so that tests pass

pull/1938/head
Jordan Wright 2020-08-15 10:31:49 -05:00
parent 735880c398
commit 27d13a0584
1 changed files with 6 additions and 5 deletions

View File

@ -118,12 +118,13 @@ func (im *Monitor) Shutdown() error {
func checkForNewEmails(im models.IMAP) {
im.Host = im.Host + ":" + strconv.Itoa(int(im.Port)) // Append port
mailServer := Mailbox{
Host: im.Host,
TLS: im.TLS,
Host: im.Host,
TLS: im.TLS,
IgnoreCertErrors: im.IgnoreCertErrors,
User: im.Username,
Pwd: im.Password,
Folder: im.Folder}
User: im.Username,
Pwd: im.Password,
Folder: im.Folder,
}
msgs, err := mailServer.GetUnread(true, false)
if err != nil {