diff --git a/notification/service.go b/notification/service.go index cc413ec..6d8a157 100644 --- a/notification/service.go +++ b/notification/service.go @@ -1,4 +1,9 @@ package notification +import ( + "git.ctrlz.es/mgdelacroix/birthdaybot/model" +) + type NotificationService interface { + Notify(*model.Birthday) error } diff --git a/notification/service_telegram.go b/notification/service_telegram.go index 3be3379..1b98c6e 100644 --- a/notification/service_telegram.go +++ b/notification/service_telegram.go @@ -16,3 +16,7 @@ func NewTelegramNotificationService(logger *log.Logger, config *model.TelegramNo config: config, } } + +func (tns *TelegramNotificationService) Notify(birthday *model.Birthday) error { + return nil +}