commit 3af4b21daf0409519d35be0776f626fc1feb0cfb
parent f2fa6c9d751c4934e18910e3674272e5fc751d6b
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Wed, 18 Dec 2024 13:33:46 +0800
noti: add missing functions to unsupported
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/noti_test.go b/noti_test.go
@@ -0,0 +1 @@
+package notify
diff --git a/noti_unsupported.go b/noti_unsupported.go
@@ -4,6 +4,10 @@ package notify
import "C"
+func SetCallback(cb CallbackFunc) {}
+
+func SetLogger(l *slog.Logger) {}
+
func Init(categories ...Category) {}
func Notify(n Notification) {}