Skip to content

chore: export remaining + helpers - #168

Merged
SamMorrowDrums merged 1 commit into
mainfrom
export-rest
Apr 8, 2025
Merged

chore: export remaining + helpers#168
SamMorrowDrums merged 1 commit into
mainfrom
export-rest

Conversation

@SamMorrowDrums

@SamMorrowDrumsSamMorrowDrums commented Apr 7, 2025

Copy link
Copy Markdown
Collaborator

Export the remaining tool funcs and helpers.

CopilotAI review requested due to automatic review settings April 7, 2025 22:39

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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
FileDescription
pkg/github/server_test.goRenamed getMe to GetMe in test cases.
pkg/github/server.goUpdated tool and helper function names to exported names.
pkg/github/search_test.goUpdated search function names to their exported versions.
pkg/github/search.goRenamed search functions and updated with exported WithPagination.
pkg/github/repository_resource_test.goRenamed resource handler functions to exported names.
pkg/github/repository_resource.goUpdated repository resource functions to exported names.
pkg/github/repositories_test.goRenamed file-related functions to exported names in tests.
pkg/github/repositories.goUpdated repository tool functions with exported naming conventions.
pkg/github/pullrequests_test.goRenamed pull request functions to exported names in tests.
pkg/github/pullrequests.goUpdated pull request functions to their exported counterparts.
pkg/github/issues_test.goRenamed issue-related functions to exported names in tests.
pkg/github/issues.goUpdated issue functions to exported names.
pkg/github/code_scanning_test.goRenamed code scanning alert functions to exported names in tests.
pkg/github/code_scanning.goUpdated code scanning functions to exported names.

@SamMorrowDrums
SamMorrowDrums changed the base branch from main to export-searchApril 7, 2025 22:43
@SamMorrowDrumsSamMorrowDrums changed the title chore: export remaining search + helperschore: export remaining + helpersApr 7, 2025
juruen
juruen previously approved these changes Apr 8, 2025

@juruenjuruen left a comment

Copy link
Copy Markdown
Collaborator

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-search to mainApril 8, 2025 07:39
@SamMorrowDrums
SamMorrowDrums dismissed juruen’s stale reviewApril 8, 2025 07:39

The base branch was changed.

@SamMorrowDrums
SamMorrowDrums merged commit 519ed9e into mainApr 8, 2025
@SamMorrowDrums
SamMorrowDrums deleted the export-rest branch April 8, 2025 07:43
Sign up for freeto 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.

3 participants

@SamMorrowDrums@juruen