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

cli -> args: Added standard lib slices for replacing IndexOf from helpers and Contains from utils #43

Closed
wants to merge 1 commit into from

Conversation

horvski
Copy link

@horvski horvski commented Sep 14, 2023

Deprecating the tau utils slices does not result in the need for a refactor in the current slices.Contains calls. The standard library is the same syntax, and expected return value.

slices.Index can be used, and IndexOf in helpers can be deleted.

slices is now part of the Go standard lib, and can be used when tau-cli upgrades from 1.19, to 1.21.

@samyfodil
Copy link
Contributor

@horvski we can't upgrade to 1.21 yet. some dependencies will break.

@samyfodil samyfodil closed this Jul 15, 2024
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.

2 participants