blob: 519c054c7488490afa4af641539fd3a26ce45df2 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 | // +build !windows,!darwin,!linux
// A stub for mobile platforms and others that don't support notifications
// via popup-style windows.
package notifier
import (
	"errors"
)
// NewNotifier running on a non-linux, non-windows and non-darwin platform
// should just return the nil no-op notifier.
func NewNotifier() (Notifier, error) {
	return nil, errors.New("no notifier available on this platform")
}
 |