PagerDuty / go-pagerduty

go client library for PagerDuty v2 API
https://v2.developer.pagerduty.com/docs/rest-api
Apache License 2.0
285 stars 241 forks source link

Add implementation for notification list #516

Open SegFaultAX opened 6 months ago

SegFaultAX commented 6 months ago

The change adds an implementation for the notification list sub-command which had a skeleton but was not previously completed. I added a small helper function to depaginate (up to a user-specified limit) the results. I would be happy to generalize this depagination function for other list operations if so desired.