-
Notifications
You must be signed in to change notification settings - Fork 99
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
Shift Go Support Window to [1.21, 1.22]
#713
Comments
Hi @shizhMSFT can you please assign this issue to me? |
Thank you @shizhMSFT |
@dextrot There is a build error in #715. Could you fix it according to #715 (review) as we need it in the next version |
Apologies, taking a look now. |
This PR fixes #713 - bumps go version in `README.md`, `go.mod` and `GitHub Actions`. --------- Signed-off-by: dextrot <[email protected]> Signed-off-by: SKM <[email protected]>
Changes: * chore: use built-in slices * perf: use built-in map clone * chore: use built-in map copy * perf: use slices.Sort instead of sort.Strings Resolves: #713 --------- Signed-off-by: Shiwei Zhang <[email protected]>
Go 1.22 is released with release notes!
It is time to shift the window for go support to
[1.21, 1.22]
by updatinggo. mod
README.md
After shifting the golang support window, we can remove / update some internal implementations using the latest golang built-in libraries introduced in golang
1.21
.oras.land/oras-go/internal/slices
and replace it with the golang built-in packageslices
.Map()
andTagSet()
ofinternal/resolver/memory.go
with the built-inmaps.Clone
to improve performance.The text was updated successfully, but these errors were encountered: