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

[CSGI-2365] Add client User Agent overwrite capability #503

Closed imjaroiswebdev closed 8 months ago

imjaroiswebdev commented 8 months ago

Test cases introduced...

$ go test -count=1 -v -run TestClient_UserAgent
=== RUN   TestClient_UserAgentDefault
--- PASS: TestClient_UserAgentDefault (0.00s)
=== RUN   TestClient_UserAgentOverwrite
--- PASS: TestClient_UserAgentOverwrite (0.00s)
PASS
ok      github.com/PagerDuty/go-pagerduty       0.667s