Complete notification service interface with notify method
This commit is contained in:
parent
8825837e14
commit
c180bb5cbe
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue