birthdaybot/notification/service.go
2023-07-10 20:46:12 +02:00

12 lines
279 B
Go

//go:generate mockgen -source=service.go -destination=mocks/service_mock.go -package=mocks
package notification
import (
"text/template"
"git.ctrlz.es/mgdelacroix/birthdaybot/model"
)
type NotificationService interface {
Notify(*model.Birthday, *template.Template) error
}