Skip to content
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

chore: build with go 1.22 and use slices from stdlib #665

Merged
merged 1 commit into from
May 3, 2024
Merged

Conversation

ctreatma
Copy link
Contributor

@ctreatma ctreatma commented May 2, 2024

The slices package was promoted from golang.org/x/exp to the standard library in go1.22. This upgrades go and replaces usage of the old exp slices package with the equivalent stdlib package. This removes the need for #662

@cprivitere
Copy link
Contributor

It is a big day for Slices.

@ctreatma ctreatma merged commit 393f704 into main May 3, 2024
8 of 11 checks passed
@ctreatma ctreatma deleted the upgrade-go branch May 3, 2024 14:07
@displague
Copy link
Member

Speaking of slices.. I'll cherrypick this into a standalone PR: a45c182

ctreatma pushed a commit that referenced this pull request May 20, 2024
Remove isStringInSlice in favor of slices.Contains.

Extracted from #622 
Related to #665

Signed-off-by: Marques Johansson <mjohansson@equinix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants