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) { func checkForNewEmails(im models.IMAP) {
im.Host = im.Host + ":" + strconv.Itoa(int(im.Port)) // Append port im.Host = im.Host + ":" + strconv.Itoa(int(im.Port)) // Append port
mailServer := Mailbox{ mailServer := Mailbox{
Host: im.Host, Host: im.Host,
TLS: im.TLS, TLS: im.TLS,
IgnoreCertErrors: im.IgnoreCertErrors, IgnoreCertErrors: im.IgnoreCertErrors,
User: im.Username, User: im.Username,
Pwd: im.Password, Pwd: im.Password,
Folder: im.Folder} Folder: im.Folder,
}
msgs, err := mailServer.GetUnread(true, false) msgs, err := mailServer.GetUnread(true, false)
if err != nil { if err != nil {