From 965d13b36e090db2739691195e585cd77ca0a95f Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 19 Jan 2024 05:34:48 +0100 Subject: [PATCH] Fix build on windows and mac --- agent/notify/unimplemented.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agent/notify/unimplemented.go b/agent/notify/unimplemented.go index d08ff47..330e995 100644 --- a/agent/notify/unimplemented.go +++ b/agent/notify/unimplemented.go @@ -2,7 +2,9 @@ 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 return nil }