Complete notification service interface with notify method

This commit is contained in:
Miguel de la Cruz 2023-07-01 18:03:15 +02:00
parent 8825837e14
commit c180bb5cbe
2 changed files with 9 additions and 0 deletions

View file

@ -1,4 +1,9 @@
package notification package notification
import (
"git.ctrlz.es/mgdelacroix/birthdaybot/model"
)
type NotificationService interface { type NotificationService interface {
Notify(*model.Birthday) error
} }

View file

@ -16,3 +16,7 @@ func NewTelegramNotificationService(logger *log.Logger, config *model.TelegramNo
config: config, config: config,
} }
} }
func (tns *TelegramNotificationService) Notify(birthday *model.Birthday) error {
return nil
}