Update go directive to 1.21 and tidy module dependencies #21
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 did this pull request do?
User Case Description
Bump Go directive to 1.21 and run full
go mod tidyThe PR only touches module metadata. It replaces the placeholder
go 1.24.0directive withgo 1.21ingo.modandexamples/go.mod, then re-tidies both modules. This drops many newer/unused checksums and re-adds versions that build under Go 1.21, aligning the dependency graph with the chosen toolchain.Key Changes
• Changed
godirective from1.24.0➜1.21ingo.modandexamples/go.mod• Replaced preview dependencies (
golang.org/x/* v0.28+,v0.37.0, etc.) with older releases compatible with 1.21 (v0.17.0,v0.21.1-*, etc.)• Downgraded
github.com/spf13/pflagtov1.0.6; removed explicit indirects no longer needed; added new indirects (golang.org/x/exp,golang.org/x/text, etc.)• Pruned unused checksums from
go.sum/examples/go.sum; added checksums for the new/updated versionsAffected Areas
•
go.mod•
go.sum•
examples/go.mod•
examples/go.sumThis summary was automatically generated by @propel-code-bot