From 27d13a0584731371033926064d750e5f4f620e7a Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Sat, 15 Aug 2020 10:31:49 -0500 Subject: [PATCH] Gofmt'ing so that tests pass --- imap/monitor.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/imap/monitor.go b/imap/monitor.go index 839981c1..74357dbf 100644 --- a/imap/monitor.go +++ b/imap/monitor.go @@ -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 {