Skip to content

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

Merged
merged 6 commits into from
Apr 8, 2025
Merged

chore: export search funcs #167

merged 6 commits into from
Apr 8, 2025

Conversation

SamMorrowDrums
Copy link
Collaborator

Export search funcs to public interface.

@Copilot Copilot AI review requested due to automatic review settings April 7, 2025 22:32
Copy link
Contributor

@Copilot Copilot AI left a 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.

@SamMorrowDrums SamMorrowDrums changed the base branch from main to export-repositories April 7, 2025 22:33
juruen
juruen previously approved these changes Apr 8, 2025
Copy link
Collaborator

@juruen juruen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Base automatically changed from export-repositories to main April 8, 2025 07:34
@SamMorrowDrums SamMorrowDrums dismissed juruen’s stale review April 8, 2025 07:34

The base branch was changed.

@SamMorrowDrums SamMorrowDrums merged commit 3dae8ab into main Apr 8, 2025
13 of 15 checks passed
@SamMorrowDrums SamMorrowDrums deleted the export-search branch April 8, 2025 07:39
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.

2 participants