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

Replace x/slices with standard slices pkg #2193

Merged
merged 5 commits into from
Sep 20, 2023

Conversation

ykadowak
Copy link
Contributor

@ykadowak ykadowak commented Sep 19, 2023

Description:

Since go v1.21, slices pkg becomes standard with multiple new functions. So this PR replaces old x/slices pkg with the new slices pkg.

Related Issue:

Versions:

  • Go Version: 1.21.1
  • Docker Version: 20.10.8
  • Kubernetes Version: v1.28.2
  • NGT Version: 2.1.3

Checklist:

Special notes for your reviewer:

@vdaas-ci
Copy link
Collaborator

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • 🔚 2️⃣ 🔚 /label actions/e2e-deploy - run E2E deploy & integration test

@cloudflare-pages
Copy link

cloudflare-pages bot commented Sep 19, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: e1bae85
Status: ✅  Deploy successful!
Preview URL: https://7a481462.vald.pages.dev
Branch Preview URL: https://feature-internal-use-standar.vald.pages.dev

View logs

@ykadowak ykadowak force-pushed the feature/internal/use-standard-slices branch from b0af0b5 to 68db1ab Compare September 19, 2023 03:47
@ykadowak ykadowak requested review from a team, kevindiu and vankichi and removed request for a team September 19, 2023 03:59
@github-actions github-actions bot added size/XL and removed size/L labels Sep 19, 2023
@codecov
Copy link

codecov bot commented Sep 19, 2023

kevindiu
kevindiu previously approved these changes Sep 19, 2023
@github-actions
Copy link
Contributor

@vdaas-ci
Copy link
Collaborator

Profile Report

typevald-agent-ngtvald-lb-gatewayvald-discoverervald-manager-index
cpu
heap
other images

pkg/gateway/lb/handler/grpc/aggregation.go Outdated Show resolved Hide resolved
internal/net/grpc/stream.go Outdated Show resolved Hide resolved
@ykadowak ykadowak merged commit 594b23b into main Sep 20, 2023
71 of 74 checks passed
@ykadowak ykadowak deleted the feature/internal/use-standard-slices branch September 20, 2023 06:55
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
ykadowak added a commit that referenced this pull request Nov 30, 2023
@vankichi vankichi mentioned this pull request Dec 4, 2023
kmrmt pushed a commit that referenced this pull request Dec 12, 2023
* Replace x/slices with slices pkg

* update go/exp

* Define private removeDuplicates

* remove internal/slices pkg

* fix generics type
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants