- Notifications
You must be signed in to change notification settings - Fork899
chore: export issues funcs#163
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 exports a set of GitHub issue and code scanning tool functions for external use.
- Renames functions from unexported (lowercase) to exported (uppercase) in files: server.go, issues.go, and code_scanning.go.
- Updates tests in issues_test.go and code_scanning_test.go to reference the new exported function names.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
pkg/github/server.go | Updated tool functions to exported versions for issues handling. |
pkg/github/issues_test.go | Updated tests to use new exported function names; note potential syntax error. |
pkg/github/issues.go | Renamed internal functions to exported functions for issue handling. |
pkg/github/code_scanning_test.go | Updated tests to use exported function names for code scanning. |
pkg/github/code_scanning.go | Converted functions to exported, making code scanning tools accessible externally. |
Uh oh!
There was an error while loading.Please reload this page.
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.
🚀
f4770fa
intomainUh oh!
There was an error while loading.Please reload this page.
Export issues functions outside the package.