12 lines
267 B
Go
12 lines
267 B
Go
//go:build !linux && !darwin && !windows
|
|
|
|
package notify
|
|
|
|
// Notifier is a no-op on unsupported platforms.
|
|
type notifier struct{}
|
|
|
|
// New returns a no-op notifier.
|
|
func New() Notifier { return notifier{} }
|
|
|
|
func (notifier) Notify(string, string) error { return nil }
|