chore(deps): bump go/stdlib to v1.23.x and update go modules #2047
+239
−173
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.
What this PR Contributes
This pull request upgrades the Go environment to version 1.23 and updates the module dependencies to their latest versions in
go.mod
. Additionally, it refactors code to align with recent API changes in Docker and other related modules, improving maintainability and compatibility with current libraries.Changes Summary
go.mod
to Go 1.23.ContainerListOptions
tocontainer.ListOptions
and refactored related Docker structs.types.ImageDeleteResponseItem
withimage.DeleteResponse
for compatibility.ImagePullOptions
andContainerRemoveOptions
to reflect updated package paths.Issues Solved
Tests and Verification
All existing unit tests have been executed to verify that the updates and refactoring do not introduce regressions. No tests failed, confirming that the modifications are stable and align with the expected functionality.
Unit-Test output:
Documentation Updates
No major documentation updates are required, as the changes pertain primarily to internal struct names and module paths.