/go-notifications

go-notifications is an implementation of the notifications dbus interface written in go (golang).

Primary LanguageGoMIT LicenseMIT

go-notifications

Go GoDoc Go Report Card codecov

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/.

Example

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"

Development

Versioning

This library follows the semantic versioning concept.

Commits

Commits should follow the conventional commit rules.
See: https://conventionalcommits.org.

Go Docs

Read the docs at https://pkg.go.dev/github.com/make-42/go-notifications