Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #41 - Migrate to use go-whatsup-client #45

Merged
merged 3 commits into from
Oct 3, 2023
Merged

Conversation

sprak3000
Copy link
Owner

  • Import go-whatsup-client.
  • Convert statuspage.io and slack ReadStatus() to take in the whatsup client and use it to get a status page.
  • Add service name and page URL as fields to the statuspageio.ClientReader struct. These are used when making the call via the whatsup client.
  • Pass a client into GetOverview() and create the appropriate struct based on the service type of the site. The client then gets passed into the ReadStatus() method associated with the struct type.
  • Clean out all the now dead code.
  • Polish up documentation.
  • Comment out goimports pre-commit hook for now. Seems like there isn't a Go 1.21 compatible version yet...

- Import `go-whatsup-client`.
- Convert statuspage.io and slack `ReadStatus()` to take in the whatsup client and use it to get a status page.
- Add service name and page URL as fields to the `statuspageio.ClientReader` struct. These are used when making the call via the whatsup client.
- Pass a client into `GetOverview()` and create the appropriate struct based on the service type of the site. The client then gets passed into the `ReadStatus()` method associated with the struct type.
- Clean out all the now dead code.
- Polish up documentation.
- Comment out goimports pre-commit hook for now. Seems like there isn't a Go 1.21 compatible version yet...
- Update go version in CI.
@sprak3000 sprak3000 merged commit 1c24399 into main Oct 3, 2023
2 checks passed
@sprak3000 sprak3000 deleted the issue-41-gwc branch October 3, 2023 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant