1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-07 23:01:59 +02:00

chore(build): check if Notify satisfies Notifier interface

This commit is contained in:
Niko Köser 2022-04-22 19:02:37 +02:00
parent 2027de87b9
commit ed8c8250f3
No known key found for this signature in database
GPG Key ID: F3F28C118DAA6375

View File

@ -5,6 +5,8 @@ import (
)
const defaultDisabled = false // Notifier is enabled by default
// Compile-time check to ensure Notify implements Notifier.
var _ Notifier = (*Notify)(nil)
// Notify is the central struct for managing notification services and sending messages to them.
type Notify struct {