Code formatting

This commit is contained in:
phoenix
2025-11-29 13:55:08 -05:00
parent 60760dd216
commit ee7f6e4a78
+1 -2
View File
@@ -14,7 +14,6 @@ import (
"git.kundeng.us/phoenix/swoosh/swoop/types" "git.kundeng.us/phoenix/swoosh/swoop/types"
) )
const Schedule_Type = "fixed" const Schedule_Type = "fixed"
type MessageSender struct { type MessageSender struct {
@@ -52,7 +51,7 @@ func (m *MessageSender) Send(msg message.Message, number contact.Contact, sendTi
} }
} }
func isSchedulable(now *time.Time, scheduled *time.Time) (bool) { func isSchedulable(now *time.Time, scheduled *time.Time) bool {
early := now.Add(300 * time.Second) early := now.Add(300 * time.Second)
if scheduled.After(early) { if scheduled.After(early) {