1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-24 03:16:35 +02:00

3 Commits

Author SHA1 Message Date
Niko Köser
0dac5dc6af
test: fill gaps in library root 2022-04-26 01:17:52 +02:00
Niko Köser
bfafa2acb7
feat(notify): Add NewWithServices() constructor function
AddNewWithServices() accepts a variadic list of services and returns a
new, by New() created, Notify instance with the list of services set as
its notifiers.

If no services are given it's the functionally identical to just calling
New().

Calling NewWithServices() with a list of services is functionally equal
to calling New() and then UseServices().
2022-04-25 23:53:28 +02:00
Niko Köser
1f8d183210
test(notify): add tests for Notify's core functions
This only adds tests for Notify itself, not for the list of supported
services.
2022-04-22 20:33:52 +02:00