14 lines
411 B
Go
14 lines
411 B
Go
//go:build windows
|
|
|
|
package notify
|
|
|
|
// Notifier is a no-op on Windows. Native toast notifications require a
|
|
// registered, packaged app (or a third-party module such as BurntToast), which
|
|
// is out of scope for a single self-contained binary.
|
|
type notifier struct{}
|
|
|
|
// New returns a no-op Windows notifier.
|
|
func New() Notifier { return notifier{} }
|
|
|
|
func (notifier) Notify(string, string) error { return nil }
|