Fix build on windows and mac
This commit is contained in:
parent
0ca8c76c4f
commit
965d13b36e
1 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
package notify
|
package notify
|
||||||
|
|
||||||
func Notify(title string, body string, actionName string, onclose func()) error {
|
import "time"
|
||||||
|
|
||||||
|
func Notify(title string, body string, actionName string, timeout time.Duration, onclose func()) error {
|
||||||
// no notifications on windows or darwin
|
// no notifications on windows or darwin
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue