Enable notifications on Darwin and provide a stub for other platforms

This commit is contained in:
Christian Muehlhaeuser 2019-06-09 03:39:00 +02:00
parent ed7570bb83
commit 588a64536b
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux darwin
package main

6
notifications_stub.go Normal file
View file

@ -0,0 +1,6 @@
// +build !linux !darwin
package main
func notify(title string, body string) {
}