birthdaybot/notification/service.go

13 lines
279 B
Go
Raw Normal View History

2023-07-10 12:43:59 +01:00
//go:generate mockgen -source=service.go -destination=mocks/service_mock.go -package=mocks
package notification
import (
2023-07-10 19:46:12 +01:00
"text/template"
"git.ctrlz.es/mgdelacroix/birthdaybot/model"
)
type NotificationService interface {
2023-07-10 19:46:12 +01:00
Notify(*model.Birthday, *template.Template) error
}