Skip to content

chore: migrate sliceutil v1 to v2#247

Open
benbitrise wants to merge 3 commits intomasterfrom
feat/sliceutil-v2
Open

chore: migrate sliceutil v1 to v2#247
benbitrise wants to merge 3 commits intomasterfrom
feat/sliceutil-v2

Conversation

@benbitrise
Copy link
Copy Markdown

Replace github.com/bitrise-io/go-utils/sliceutil (v1) usages:

  • IsStringInSliceslices.Contains (stdlib)
  • IndexOfStringInSliceslices.Index (stdlib)

Replace github.com/bitrise-io/go-utils/sliceutil (v1) usages:
- IsStringInSlice → slices.Contains (stdlib)
- IndexOfStringInSlice → slices.Index (stdlib)
- CleanWhitespace → sliceutil.Map + sliceutil.Filter (v2)
The slices stdlib package (used to replace sliceutil v1) requires Go 1.21+.
Required after bumping go directive to 1.21 — vendored dependencies must be explicitly listed.
@benbitrise benbitrise requested a review from a team April 24, 2026 17:01
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.

1 participant