Refactor: Move main package to cmd/anzu#53
Merged
fernandez14 merged 3 commits intodevelopfrom Aug 21, 2025
Merged
Conversation
This commit refactors the project to follow the Standard Go Project Layout by moving the main package from `init.go` to `cmd/anzu/main.go`. The Dockerfile has been updated to build the binary from the new location.
This commit updates the `.github/workflows/go.yml` file to reflect the new project structure. The build command has been changed to build the binary from the `cmd/anzu` directory.
This commit updates the `.air.toml` file, moves `config.go` to the `cmd/anzu` directory, and updates the `README.md` to reflect the new project structure. These changes ensure that the development environment and documentation are aligned with the recent refactoring.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request refactors the project structure to align with the Standard Go Project Layout. The main package has been moved to
cmd/anzu/main.go, and the Dockerfile has been updated to reflect this change.