- Notifications
You must be signed in to change notification settings - Fork899
chore: export remaining + helpers#168
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR updates several functions and helpers to use exported (capitalized) names so they can be accessed externally. Key changes include renaming search functions and helper methods across multiple GitHub-related packages, and updating associated tests and resource handlers to reflect the new names.
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
pkg/github/server_test.go | Renamed getMe to GetMe in test cases. |
pkg/github/server.go | Updated tool and helper function names to exported names. |
pkg/github/search_test.go | Updated search function names to their exported versions. |
pkg/github/search.go | Renamed search functions and updated with exported WithPagination. |
pkg/github/repository_resource_test.go | Renamed resource handler functions to exported names. |
pkg/github/repository_resource.go | Updated repository resource functions to exported names. |
pkg/github/repositories_test.go | Renamed file-related functions to exported names in tests. |
pkg/github/repositories.go | Updated repository tool functions with exported naming conventions. |
pkg/github/pullrequests_test.go | Renamed pull request functions to exported names in tests. |
pkg/github/pullrequests.go | Updated pull request functions to their exported counterparts. |
pkg/github/issues_test.go | Renamed issue-related functions to exported names in tests. |
pkg/github/issues.go | Updated issue functions to exported names. |
pkg/github/code_scanning_test.go | Renamed code scanning alert functions to exported names in tests. |
pkg/github/code_scanning.go | Updated code scanning functions to exported names. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
🚀
519ed9e
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Export the remaining tool funcs and helpers.