a desktop notification package for Go / golang
GNU/Linux | OS X |
---|---|
send desktop notifications from your Go application
- GNU/Linux using libnotify
notify-send
- OS X 10.9+ using AppleScript
display notification
I'd like to add support for other operating systems (primarily Windows and *BSD).
- libnotify would probably work for *BSD but I don't want to implement without testing.
- Windows doesn't seem to have an easy way of doing this, and I want to avoid doing something like bundling a 3rd party binary. Please let me know of any ideas/suggestions to provide Windows notifications cleanly.
install and update this Go package with go get -u github.com/ctcpip/notifize
package main
import "github.com/ctcpip/notifize"
func main() {
notifize.Display("title", "hello, world", false, "")
}
godoc.org/github.com/ctcpip/notifize
this project uses...