go-notifications is an implementation of the notifications dbus interface written in go (golang) for receiving notifications. Implemented and tested against version 1.2. See: https://specifications.freedesktop.org/notification-spec/1.2/.
An example using this library has been implemented and is accesible at examples/example.go
.
git clone git@github.com:make-42/go-notifications.git
go build examples/example.go
./example
You can then test sending notifications with:
notify-send "Notification summary" "Notification body: test test test"
This library follows the semantic versioning concept.
Commits should follow the conventional commit rules.
See: https://conventionalcommits.org.
Read the docs at https://pkg.go.dev/github.com/make-42/go-notifications