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:
parent
2027de87b9
commit
ed8c8250f3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user