goldwarden/agent/notify/beeep.go
2024-02-04 00:53:16 +01:00

22 lines
329 B
Go

//go:build darwin
package notify
import (
"time"
"github.com/gen2brain/beeep"
)
func Notify(title string, body string, actionName string, timeout time.Duration, onclose func()) error {
err := beeep.Notify(title, body, "")
if err != nil {
panic(err)
}
return nil
}
func ListenForNotifications() error {
return nil
}