Skip to content
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

fix: fixes for go ga #1546

Merged
merged 6 commits into from
Mar 21, 2024
Merged

fix: fixes for go ga #1546

merged 6 commits into from
Mar 21, 2024

Conversation

didroe
Copy link
Contributor

@didroe didroe commented Mar 21, 2024

Description

Makes the following fixes/improvements for Go GA:

  • Guess package names for versioned imports. eg. github.com/bearer/foo/v2 guesses foo as the package name
  • Strip go- prefix and -go suffix from package names
  • Allow rule patterns consisting of a single identifier to match package identifiers
  • Lookup operand for index operations

Checklist

  • I've added test coverage that shows my fix or feature works as expected.
  • I've updated or added documentation if required.
  • I've included usage information in the description if CLI behavior was updated or added.
  • PR title follows Conventional Commits format

@didroe didroe requested a review from gotbadger March 21, 2024 10:58
@didroe didroe merged commit 3642a70 into main Mar 21, 2024
9 checks passed
@didroe didroe deleted the CM-33303/golang-ga branch March 21, 2024 15:26
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.

None yet

3 participants