aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notifier/notifiers.go
blob: 5f6087c2eb4cbb7e3a0ea137d4224818841d0e2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package notifier

import (
	"donetick.com/core/config"
	"donetick.com/core/internal/notifier/telegram"
)

type Notifiers []Notifier

func NewNotifiers(config *config.Config) Notifiers {
	var notifiers []Notifier
	notifiers = append(notifiers, telegram.NewTelegramNotifier(config))

	return notifiers
}