Desktop notification with golang for:
- Windows with
growlnotify
; - Mac OS X with
growlnotify
; - Linux with
notify-send
for gnome andkdialog
for kde.
package main
import (
"github.com/jboelter/notificator"
)
var notify *notificator.Notificator
func main() {
notify = notificator.New(notificator.Options{
DefaultIcon: "icon/default.png",
AppName: "My test App",
})
notify.PushWithIcon("title", "text", "/home/user/icon.png")
}
- Add more options for different notificators.
- Fork;
- Make changes;
- Send pull request;
- Thank you.
@0xAX joshuaboelter