diff --git a/README.md b/README.md index df895f2..b420d5e 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ telegramService.AddReceivers("-1234567890") // Tell our notifier to use the telegram service. You can repeat the above process // for as many services as you like and just tell the notifier to use them. // Its kinda like using middlewares for api servers. -notifier.UseService(telegramService) +notifier.UseServices(telegramService) // Send a test message _ = notifier.Send( diff --git a/service/pushbullet/usage.md b/service/pushbullet/usage.md index ff909d5..5f3789d 100644 --- a/service/pushbullet/usage.md +++ b/service/pushbullet/usage.md @@ -36,7 +36,7 @@ func main() { // Tell our notifier to use the Pushbullet service. You can repeat the above process // for as many services as you like and just tell the notifier to use them. - notifier.UseService(service) + notifier.UseServices(service) // Send a message err = notifier.Send( @@ -81,7 +81,7 @@ func main() { // Tell our notifier to use the Pushbullet service. You can repeat the above process // for as many services as you like and just tell the notifier to use them. - notifier.UseService(service) + notifier.UseServices(service) // Send a message err = notifier.Send( diff --git a/service/slack/usage.md b/service/slack/usage.md index ebdbc66..f87e0a6 100644 --- a/service/slack/usage.md +++ b/service/slack/usage.md @@ -38,7 +38,7 @@ func main() { // Tell our notifier to use the Slack service. You can repeat the above process // for as many services as you like and just tell the notifier to use them. - notifier.UseService(slackService) + notifier.UseServices(slackService) // Send a message _ = notifier.Send(