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

simple: recommend strings.Cut #1008

Open
dominikh opened this issue May 24, 2021 · 0 comments
Open

simple: recommend strings.Cut #1008

dominikh opened this issue May 24, 2021 · 0 comments

Comments

@dominikh
Copy link
Owner

dominikh commented May 24, 2021

The proposal to add a Cut function: golang/go#46336
A CL that should contain a good source of patterns to look for: https://go-review.googlesource.com/c/go/+/322210/

This might need to be a quickfix instead, if we can't avoid false positives. I won't be able to tell until after I've implemented the check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant