-
Notifications
You must be signed in to change notification settings - Fork 693
chore: export search funcs #167
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
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 exports several GitHub search and resource functions to the public interface by renaming them from unexported (lowercase) to exported (PascalCase) versions. The changes update function names and comments throughout the code as well as the corresponding test references to ensure consistency.
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
pkg/github/server.go | Renamed resource and tool functions to exported variants. |
pkg/github/search_test.go | Updated test references for renamed search functions. |
pkg/github/search.go | Exported search functions by renaming them. |
pkg/github/repository_resource_test.go | Updated tests with exported resource handler functions. |
pkg/github/repository_resource.go | Renamed resource functions and their comments to be exported. |
pkg/github/repositories_test.go | Updated test references for repository functions. |
pkg/github/repositories.go | Exported repository functions by renaming them. |
pkg/github/pullrequests_test.go | Updated test references for pull request functions. |
pkg/github/pullrequests.go | Renamed pull request functions to the exported naming convention. |
pkg/github/issues_test.go | Updated test references for issue functions. |
pkg/github/issues.go | Exported issue functions with updated naming and comments. |
pkg/github/code_scanning_test.go | Updated test references for code scanning functions. |
pkg/github/code_scanning.go | Renamed code scanning functions to be exported. |
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.
🚀
7ec5938
to
f2bbc19
Compare
Export search funcs to public interface.