Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Upgrade Go and Packages #1
Upgrade Go and Packages #1
Changes from 20 commits
077e2b7
730dd9b
d0d386d
db2b939
be28f56
7e60020
cb6dda9
3ce0302
b59c37d
b382a94
7fe75f2
d65fb39
c5fb1bc
f04c95d
ea447b8
a7e3020
94ed157
9a92aaf
b3779e8
17b5800
e6583b3
84d7ae2
26e00d0
cdccb4e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
🛠️ Refactor suggestion
Consider pinning mockgen to a specific version.
Using
@latest
could lead to unexpected behavior if breaking changes are released. Consider pinning to a specific version for reproducible builds.📝 Committable suggestion
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.
💡 Codebase verification
Installation instructions should include both Intel and Apple Silicon options
The README currently only shows installation instructions for Apple Silicon (arm64) Macs, while the repository also supports Intel-based Macs through Homebrew and source installation. For clarity and completeness:
Since Homebrew support is already documented as an alternative installation method (which handles architecture selection automatically), users have a reliable fallback option.
🔗 Analysis chain
Verify binary availability for all architectures
While updating the instructions for Apple Silicon is great, we should ensure that Intel Mac users can still find appropriate installation instructions.
Consider adding a note about architecture-specific binaries and how Intel Mac users should download the
darwin_amd64
version instead.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 679
Script:
Length of output: 97
Script:
Length of output: 14917
🧰 Tools
🪛 LanguageTool
🪛 Markdownlint
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.
🛠️ Refactor suggestion
Consider wrapping cleanup errors
The cleanup operations (deleteEventRule and deleteSQSQueue) should continue even if one fails. Consider collecting and wrapping all cleanup errors.
📝 Committable suggestion
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.
Ensure non-nil values before dereferencing AWS SDK responses
When returning
*queue.QueueUrl
andattrs.Attributes["QueueArn"]
, ensure that these values are not nil to prevent potential nil pointer dereference errors.Consider adding checks before dereferencing, for example: