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

feat: detect go version and do not clone loop variable #119

Closed
hedhyw opened this issue Jun 11, 2024 · 0 comments · May be fixed by #124
Closed

feat: detect go version and do not clone loop variable #119

hedhyw opened this issue Jun 11, 2024 · 0 comments · May be fixed by #124
Assignees
Labels
enhancement New feature or request

Comments

@hedhyw
Copy link
Owner

hedhyw commented Jun 11, 2024

If go >= 1.22, do not add testCase := testCase.

See "copyloopvar" linter.

@hedhyw hedhyw changed the title feat: detect go version and do not feat: detect go version and do not clone loop variable Jun 11, 2024
@hedhyw hedhyw added the enhancement New feature or request label Jun 11, 2024
@hedhyw hedhyw self-assigned this Jun 19, 2024
@hedhyw hedhyw closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant