blob: 5f6087c2eb4cbb7e3a0ea137d4224818841d0e2f (
plain) (
tree)
|
|
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
}
|