go-nativenotify

Native notifications in Go
Log | Files | Refs | README | LICENSE

commit 2d9d0bf532a59ff486968ca391ea828f4e41026b
parent 8d66f8a8d6a279a8f6470c430aaa8bf2cd2dbe22
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Wed, 15 Jan 2025 18:24:46 +0800

notify: [darwin] fix nextID method call typo

Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>

Diffstat:
Mnotify_darwin.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notify_darwin.go b/notify_darwin.go @@ -41,7 +41,7 @@ func setup(cfg Config) error { } func push(n Notification) (err error) { - id := nextID.And(1) + id := nextID.Add(1) defer func() { if err == nil {