Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
qy-zh authored and qy-zh committed Oct 8, 2023
1 parent 06bfea2 commit cb7faca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion imap/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ func (im *Monitor) Shutdown() error {
}

// checkForNewEmails logs into an IMAP account and checks unread emails
// for the rid campaign identifier.
//
// for the rid campaign identifier.
func checkForNewEmails(im models.IMAP) {
im.Host = im.Host + ":" + strconv.Itoa(int(im.Port)) // Append port
mailServer := Mailbox{
Expand Down
2 changes: 1 addition & 1 deletion models/campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ func PostCampaign(c *Campaign, uid int64) error {
return tx.Commit().Error
}

//DeleteCampaign deletes the specified campaign
// DeleteCampaign deletes the specified campaign
func DeleteCampaign(id int64) error {
log.WithFields(logrus.Fields{
"campaign_id": id,
Expand Down

0 comments on commit cb7faca

Please sign in to comment.