Update package imports to use internal package structure #145
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 primarily involves a reorganization of the codebase, moving several files and updating their references accordingly. The most significant changes are the relocation of the
cli
,config
, andslack
packages to aninternal
directory, and the subsequent updates to import statements and build configurations to reflect these changes.Here are the key changes:
Codebase reorganization:
.goreleaser.yml
: Updated theldflags
configuration to reflect the new location of thecli
package.Makefile
: Updated the build rules forbin/notify_slack
to include the new locations of thecli
,config
,slack
, andthrottle
packages.cmd/notify_slack/main.go
: Updated the import statement to reflect the new location of thecli
package.Updates to import statements:
internal/cli/cli.go
: Updated import statements to reflect the new locations of theconfig
,slack
, andthrottle
packages.internal/cli/cli_test.go
: Updated import statements to reflect the new locations of theconfig
andslack
packages.internal/config/config_test.go
: Updated import statement to reflect the new location of theconfig
package.internal/slack/client_test.go
: Updated import statement to reflect the new location of theslack
package.